summaryrefslogtreecommitdiff
path: root/tools/ct-ng.extract-config
diff options
context:
space:
mode:
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-