# HG changeset patch # User "Yann E. MORIN" # Date 1229019678 0 # Node ID 035f231898ccfad81b7fb719d9cf89203986b46d # Parent b46a557b33c9bbb3e180361d615b03684388aa46 Move toolchain-config.in from tools/ to scripts/ Small documentation fix. /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/docs/overview.txt | 1 1 0 0 + 2 files changed, 2 insertions(+), 1 deletion(-) diff -r b46a557b33c9 -r 035f231898cc docs/overview.txt --- a/docs/overview.txt Thu Dec 11 18:16:54 2008 +0000 +++ b/docs/overview.txt Thu Dec 11 18:21:18 2008 +0000 @@ -297,6 +297,7 @@ This will dump the configuration to stdout, so to rebuild a toolchain with this configuration, the following is all you need to do: ${CT_TARGET}-config >.config + ct-ng oldconfig Then, you can review and change the configuration by running: ct-ng menuconfig diff -r b46a557b33c9 -r 035f231898cc scripts/crosstool.sh --- a/scripts/crosstool.sh Thu Dec 11 18:16:54 2008 +0000 +++ b/scripts/crosstool.sh Thu Dec 11 18:21:18 2008 +0000 @@ -406,7 +406,7 @@ export PARALLELMFLAGS CT_DoLog EXTRA "Installing user-supplied crosstool-NG configuration" - CT_DoExecLog DEBUG install -m 0755 "${CT_LIB_DIR}/tools/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ct-ng.config" + CT_DoExecLog DEBUG install -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${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" diff -r b46a557b33c9 -r 035f231898cc scripts/toolchain-config.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/toolchain-config.in Thu Dec 11 18:21:18 2008 +0000 @@ -0,0 +1,8 @@ +#!/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)) +dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat +exit 0 + +### CT_NG SKIP ME ### diff -r b46a557b33c9 -r 035f231898cc tools/toolchain-config.in --- a/tools/toolchain-config.in Thu Dec 11 18:16:54 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#!/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)) -dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat -exit 0 - -### CT_NG SKIP ME ###