From 9622f68581cea9d607bbd641b89350c2420720d5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Feb 2013 15:06:10 +0000 Subject: buildroot: allow specifying libc personality for external toolchains SVN-Revision: 35703 --- toolchain/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'toolchain/Config.in') 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 -- cgit v1.2.3