From f8f3c05e56959f297edebe6438bd4f8c988f1e6e Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 20 Feb 2013 15:06:10 +0000 Subject: buildroot: allow specifying libc personality for external toolchains git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/ext-toolchain.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh index d1e163fd6..3ebaa2148 100755 --- a/scripts/ext-toolchain.sh +++ b/scripts/ext-toolchain.sh @@ -356,6 +356,10 @@ print_config() { echo "CONFIG_TOOLCHAIN_PREFIX=\"$prefix\"" >> "$config" echo "CONFIG_TARGET_NAME=\"$target\"" >> "$config" + if [ "$LIBC_TYPE" != glibc ]; then + echo "CONFIG_TOOLCHAIN_LIBC=\"$LIBC_TYPE\"" >> "$config" + fi + local lib for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN; do local file -- cgit v1.2.3