summaryrefslogtreecommitdiff
path: root/tools/ct-ng.extract-config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-17 21:44:33 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-17 21:44:33 (GMT)
commitd5db172ef497472211ba081b70b2c8aad8ccbd89 (patch)
tree7841e59e928b43995024aaac3e5f3d66bbc253cd /tools/ct-ng.extract-config
parent3f4ac101f2b4392089e68b9307a7773a97d0ce6d (diff)
Revisit the extract-config way of working: ct-ng is the sole entry point to crosstool-NG, and ct-ng.extrac-config no longer exists. You now have to call "ct-ng extractconfig </path/to/your/build.log" instead.
Diffstat (limited to 'tools/ct-ng.extract-config')
-rwxr-xr-xtools/ct-ng.extract-config23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/ct-ng.extract-config b/tools/ct-ng.extract-config
deleted file mode 100755
index 8221d86..0000000
--- a/tools/ct-ng.extract-config
+++ /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 <logfile>
-
-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-