buildroot: allow specifying libc personality for external toolchains

SVN-Revision: 35703
This commit is contained in:
Jo-Philipp Wich
2013-02-20 15:06:10 +00:00
parent 330ae61b1b
commit 9622f68581
3 changed files with 16 additions and 1 deletions

View File

@@ -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