summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-01-25 15:01:25 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-01-25 15:01:25 (GMT)
commitf82604657871e11af7fd833b97bec2dc7d27841e (patch)
treea6950d0c6660e5ef3d8b6c3147a21a58f5338c26
parent8f61b236c9e70853e21730ad7889be9c3d23f94d (diff)
downloadbuildroot-f82604657871e11af7fd833b97bec2dc7d27841e.tar.gz
buildroot-f82604657871e11af7fd833b97bec2dc7d27841e.tar.bz2
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>
-rw-r--r--package/Makefile.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index fae0e0e..468d30c 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -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