summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-01-23 07:57:17 (GMT)
committerGitHub <noreply@github.com>2019-01-23 07:57:17 (GMT)
commitdaa07529503413956bc3c769267d12dacb28e0d5 (patch)
tree8514dfe42c97432b2a0b51485a6f1dca7e12cd06 /scripts/build
parent0364e3cf91a636dea48b6a7a203f9de5c7f1adc2 (diff)
parentde797aa99d7b380cdef6c0146ae4cc68d10e089d (diff)
Merge pull request #1128 from dimkr/uclibc-cfg
Store the uClibc .config alongside the ct-ng .config
Diffstat (limited to 'scripts/build')
-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 ccadfeb..5ea5c58 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
}