projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buildroot: allow specifying libc personality for external toolchains
[openwrt.git]
/
scripts
/
ext-toolchain.sh
diff --git
a/scripts/ext-toolchain.sh
b/scripts/ext-toolchain.sh
index
d1e163f
..
3ebaa21
100755
(executable)
--- 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"
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
local lib
for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN; do
local file