aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-01-22 23:57:17 -0800
committerGitHub <noreply@github.com>2019-01-22 23:57:17 -0800
commitdaa07529503413956bc3c769267d12dacb28e0d5 (patch)
tree8514dfe42c97432b2a0b51485a6f1dca7e12cd06 /scripts/build/libc
parent0364e3cf91a636dea48b6a7a203f9de5c7f1adc2 (diff)
parentde797aa99d7b380cdef6c0146ae4cc68d10e089d (diff)
downloadcrosstool-ng-daa07529503413956bc3c769267d12dacb28e0d5.tar.gz
crosstool-ng-daa07529503413956bc3c769267d12dacb28e0d5.tar.bz2
crosstool-ng-daa07529503413956bc3c769267d12dacb28e0d5.zip
Merge pull request #1128 from dimkr/uclibc-cfg
Store the uClibc .config alongside the ct-ng .config
Diffstat (limited to 'scripts/build/libc')
-rw-r--r--scripts/build/libc/uClibc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index ccadfeb6..5ea5c580 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -416,4 +416,8 @@ uClibc_post_cc()
# Moreover, need to do this after the final compiler is built: on targets
# that use elf2flt, the core compilers cannot find ld when running elf2flt.
CT_MultilibFixupLDSO
+
+ if [ -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" ]; then
+ CT_InstallConfigurationFile "${CT_LIBC_UCLIBC_CONFIG_FILE}" libc
+ fi
}