aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-08 15:34:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-08 15:34:23 +0000
commite53afbbe64454814f36e4f3e3cf566c789f80f8f (patch)
treebb01d65c992c82830215900b4646200fbc9e9873
parent4e88bcfb001bb1be4a79ab7326d8c726a5776eba (diff)
downloadupstream-e53afbbe64454814f36e4f3e3cf566c789f80f8f.tar.gz
upstream-e53afbbe64454814f36e4f3e3cf566c789f80f8f.tar.bz2
upstream-e53afbbe64454814f36e4f3e3cf566c789f80f8f.zip
introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.
SVN-Revision: 29689
-rw-r--r--toolchain/Config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 75450327fe..c027be8212 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -175,7 +175,11 @@ config INSIGHT
config USE_UCLIBC
bool
- default y if !TOOLCHAINOPTS
+ default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+
+config USE_EXTERNAL_LIBC
+ bool
+ default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN
source "toolchain/gcc/Config.version"