package/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains
Use uclibc for internal ct-ng toolchains configured with uClibc as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
8f61b236c9
commit
f826046578
@ -12,9 +12,7 @@ MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
|
||||
# Compute GNU_TARGET_NAME and REAL_GNU_TARGET_NAME
|
||||
GNU_TARGET_NAME=$(ARCH)-linux
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
LIBC=uclibc
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_CTNG_uClibc)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
|
||||
LIBC=uclibc
|
||||
else
|
||||
LIBC=gnu
|
||||
|
Loading…
Reference in New Issue
Block a user