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
This commit is contained in:
		| @@ -175,7 +175,11 @@ config INSIGHT | |||||||
|  |  | ||||||
| config USE_UCLIBC | config USE_UCLIBC | ||||||
| 	bool | 	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" | source "toolchain/gcc/Config.version" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jo-Philipp Wich
					Jo-Philipp Wich