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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29689
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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"