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
commit5d7f822b6605be87aecedaf120df5110b594ebe4 (patch)
tree60e2c1d838268a4806574baf7268119a4255db9b /toolchain/Config.in
parentb80aa55594417b6b1188b860796fdcf4d925fc4e (diff)
downloadmaster-187ad058-5d7f822b6605be87aecedaf120df5110b594ebe4.tar.gz
master-187ad058-5d7f822b6605be87aecedaf120df5110b594ebe4.tar.bz2
master-187ad058-5d7f822b6605be87aecedaf120df5110b594ebe4.zip
buildroot: allow specifying libc personality for external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
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