aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-02-20 15:06:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-02-20 15:06:10 +0000
commit9622f68581cea9d607bbd641b89350c2420720d5 (patch)
treec5bce9c0e9c3c31376ed6bec317a21ddb008e427 /toolchain/Config.in
parent330ae61b1b8e136b268d2a9316e434a6ca842979 (diff)
downloadupstream-9622f68581cea9d607bbd641b89350c2420720d5.tar.gz
upstream-9622f68581cea9d607bbd641b89350c2420720d5.tar.bz2
upstream-9622f68581cea9d607bbd641b89350c2420720d5.zip
buildroot: allow specifying libc personality for external toolchains
SVN-Revision: 35703
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 32de4b1647..8677b87e7e 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -50,6 +50,17 @@ menuconfig EXTERNAL_TOOLCHAIN
default "/opt/cross/powerpc-unknown-linux-gnu" if powerpc
default "/opt/cross/x86_64-unknown-linux-gnu" if x86_64
+ config TOOLCHAIN_LIBC
+ string
+ prompt "Toolchain libc" if DEVEL
+ depends EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+ default "uclibc"
+ help
+ Specify the libc type used by the external toolchain. The given value us passed as -m
+ flag to all gcc and g++ invocations. This is mainly intended for multilib toolchains
+ which support glibc and uclibc at the same time. If no value is specified, no -m flag
+ is passed.
+
config TOOLCHAIN_BIN_PATH
string
prompt "Toolchain program path" if DEVEL