mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
Use tools discovered by ./configure in scripts/toolchain-config.in.
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/toolchain-config.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 1 deletion(-)
This commit is contained in:
parent
d80eda68dd
commit
692749b67e
@ -412,6 +412,7 @@ if [ -z "${CT_RESTART}" ]; then
|
||||
|
||||
CT_DoLog EXTRA "Installing user-supplied crosstool-NG configuration"
|
||||
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 -r -i -e 's,@@grep@@,"'"${grep}"'",;' "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config"
|
||||
bzip2 -c -9 .config >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config"
|
||||
|
||||
CT_DoStep EXTRA "Dumping internal crosstool-NG configuration"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
SKIP_ME="### CT_NG SKIP ME ###"
|
||||
skip_me=$(($(cat "${0}" |grep --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
|
||||
skip_me=$(($(cat "${0}" |@@grep@@ --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
|
||||
dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
|
||||
exit 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user