introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN |...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Jan 2012 15:34:23 +0000 (15:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Jan 2012 15:34:23 +0000 (15:34 +0000)
SVN-Revision: 29689

toolchain/Config.in

index 75450327fe23f69a266124d8919c22dc8e9e7d8f..c027be821284a66a827dd4adf4b9f14ea9a325a9 100644 (file)
@@ -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"