diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-01 18:10:40 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-01 18:10:40 (GMT) |
commit | 16c6cc994fe1325535caa16dab5590c5a4cf2246 (patch) | |
tree | 13eb0c745c1997d1833326ae6d1ab03554b2d8e3 /tools/toolchain-config.in | |
parent | c7f3478a1056b41fa18101fa3dc4f67aca89fd0d (diff) |
Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
- introduce a skeleton for the config script,
- update auto-completion,
- document the config script.
/trunk/kconfig/kconfig.mk | 9 2 7 0 ++-------
/trunk/scripts/crosstool.sh | 6 5 1 0 +++++-
/trunk/docs/overview.txt | 21 9 12 0 +++++++++------------
/trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
5 files changed, 25 insertions(+), 21 deletions(-)
Diffstat (limited to 'tools/toolchain-config.in')
-rw-r--r-- | tools/toolchain-config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/toolchain-config.in b/tools/toolchain-config.in new file mode 100644 index 0000000..d8a4df3 --- /dev/null +++ b/tools/toolchain-config.in @@ -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 ### |