# HG changeset patch # User "Yann E. MORIN" # Date 1183933727 0 # Node ID 918b55e0e4a163cde5b36976b1a1dedbafa24f09 # Parent 7c5117eade60c4262888fae980ffabc4a7336e40 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. diff -r 7c5117eade60 -r 918b55e0e4a1 Makefile.in --- a/Makefile.in Sun Jul 08 22:26:37 2007 +0000 +++ b/Makefile.in Sun Jul 08 22:28:47 2007 +0000 @@ -67,6 +67,7 @@ install-bin: $(BINDIR) @install -m 755 ct-ng $(BINDIR)/ct-ng + @ln -s $(LIBDIR)/tools/ct-ng.extract-config $(BINDIR)/ct-ng.extract-config install-lib: $(LIBDIR) install-lib-main install-lib-samples @@ -74,6 +75,7 @@ @for src_dir in config kconfig patches scripts tools; do \ tar cf - --exclude=.svn $${src_dir} |(cd $(LIBDIR); tar xf -); \ done + @rm -f $(LIBDIR)/tools/addToolVersion.sh @for src_file in Makefile.steps version; do \ install -m 644 $${src_file} $(LIBDIR)/$${src_file}; \ done diff -r 7c5117eade60 -r 918b55e0e4a1 tools/ct-ng.extract-config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/ct-ng.extract-config Sun Jul 08 22:28:47 2007 +0000 @@ -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 -r 7c5117eade60 -r 918b55e0e4a1 tools/extractConfig.sh --- a/tools/extractConfig.sh Sun Jul 08 22:26:37 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -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-