From ede3c76fc2b45dff9f67c2670848a1bb7b0e56dd Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 8 Jul 2007 22:28:47 +0000 Subject: Fix the install procedure: - remove useless script tools/addToolVersion.sh: it is not needed when running crosstool-NG, only for developpers, - create a symlink to the configuration extract script, so that it is in the PATH if ct-ng is. --- tools/ct-ng.extract-config | 23 +++++++++++++++++++++++ tools/extractConfig.sh | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100755 tools/ct-ng.extract-config delete mode 100755 tools/extractConfig.sh (limited to 'tools') diff --git a/tools/ct-ng.extract-config b/tools/ct-ng.extract-config new file mode 100755 index 00000000..8221d86f --- /dev/null +++ b/tools/ct-ng.extract-config @@ -0,0 +1,23 @@ +#!/bin/sh + +# This scripts extracts a crosstool-NG configuration from the log file +# of a toolchain build with crosstool-NG. + +# Usage: $0 + +cat "$1" |awk ' +BEGIN { + dump = 0; +} + +$0~/Dumping crosstool-NG configuration: done in.+s$/ { + dump = 0; +} + +dump == 1 { $1 = "" } +dump == 1 + +$0~/Dumping crosstool-NG configuration$/ { + dump = 1; +} +' |cut -d ' ' -f 2- diff --git a/tools/extractConfig.sh b/tools/extractConfig.sh deleted file mode 100755 index 8221d86f..00000000 --- a/tools/extractConfig.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# This scripts extracts a crosstool-NG configuration from the log file -# of a toolchain build with crosstool-NG. - -# Usage: $0 - -cat "$1" |awk ' -BEGIN { - dump = 0; -} - -$0~/Dumping crosstool-NG configuration: done in.+s$/ { - dump = 0; -} - -dump == 1 { $1 = "" } -dump == 1 - -$0~/Dumping crosstool-NG configuration$/ { - dump = 1; -} -' |cut -d ' ' -f 2- -- cgit v1.2.3