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(-)
2 # Yes, this intends to be a true POSIX script file.
8 Usage: ${myname} <dir> <base> <inc>
9 Will renumber all patches found in <dir>, starting at <base>, and with
11 Eg.: patch-renumber patches/gcc/4.3.1 100 10
15 [ $# -eq 3 ] || { doUsage; exit 1; }
16 [ -d "${1}" ] || { doUsage; exit 1; }
22 case $(LC_ALL=C svnversion 2>/dev/null) in
23 exported) CMD="mv -v";;
27 for p in "${dir}"/*.patch; do
28 [ -e "${p}" ] || { echo "No such file '${p}'"; exit 1; }
29 newname="$(printf "%03d" ${cpt})-$(basename "${p}" |sed -r -e 's/^[[:digit:]]{3}-//')"
30 [ "${p}" = "${dir}/${newname}" ] || ${CMD} "${p}" "${dir}/${newname}"