diff options
author | Dima Krasner <dima@dimakrasner.com> | 2019-01-22 22:33:32 +0200 |
---|---|---|
committer | Dima Krasner <dima@dimakrasner.com> | 2019-01-22 22:36:15 +0200 |
commit | 1635c149a4118736e2f0b2901ae4589eea92e194 (patch) | |
tree | d04505210af65097c901f061a1c6ce9c8eb74ef2 /scripts/crosstool-NG.sh | |
parent | 0364e3cf91a636dea48b6a7a203f9de5c7f1adc2 (diff) | |
download | crosstool-ng-1635c149a4118736e2f0b2901ae4589eea92e194.tar.gz crosstool-ng-1635c149a4118736e2f0b2901ae4589eea92e194.tar.bz2 crosstool-ng-1635c149a4118736e2f0b2901ae4589eea92e194.zip |
Store the uClibc .config alongside the ct-ng .config
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
Diffstat (limited to 'scripts/crosstool-NG.sh')
-rw-r--r-- | scripts/crosstool-NG.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh index 3e888d74..89c9e60e 100644 --- a/scripts/crosstool-NG.sh +++ b/scripts/crosstool-NG.sh @@ -616,6 +616,11 @@ if [ -z "${CT_RESTART}" ]; then CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/bin" CT_DoExecLog DEBUG ${install} -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" CT_DoExecLog DEBUG ${sed} -i -e 's,@@grep@@,"'"${grep}"'",;' "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" + if [ -n "$CT_LIBC_UCLIBC_CONFIG_FILE" ] + then + ${install} -m 0755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-libc.config" + bzip2 -c -9 "$CT_LIBC_UCLIBC_CONFIG_FILE" >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-libc.config" + fi bzip2 -c -9 .config >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" CT_DoStep EXTRA "Dumping internal crosstool-NG configuration" |