[Buildroot] [PATCH v2 2/4] package/Makefile.in: add detection for the lack of C library

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jul 27 08:24:14 UTC 2022


On Wed, 27 Jul 2022 09:58:26 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> > +# This happens if there is a bug in Buildroot that allows an
> > +# architecture configuration that isn't supported by any library.
> > +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC)$(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_TOOLCHAIN_USES_MUSL),)
> > +$(error No C library enabled, this is not possible.)
> > +endif  
> 
> I've moved this as the last else clause in the fllowing conditional
> block (and added an explicit test for the else-glibc case of course).

Aaah, yes, that's even better indeed! Thanks for fixing this!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list