From 16c6cc994fe1325535caa16dab5590c5a4cf2246 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 1 Oct 2008 18:10:40 +0000 Subject: 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(-) --- tools/toolchain-config.in | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/toolchain-config.in (limited to 'tools') diff --git a/tools/toolchain-config.in b/tools/toolchain-config.in new file mode 100644 index 00000000..d8a4df32 --- /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 ### -- cgit v1.2.3