summaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-24 22:54:42 (GMT)
committerGitHub <noreply@github.com>2017-01-24 22:54:42 (GMT)
commitb5d0e396d9ad0c886ab487bd26776bda92e5f40c (patch)
tree7bfe2a05f5dcee235ddc448dc3bde53882c8318c /ct-ng.in
parent027a75cbf0e8361160485b5869f3a554cf44977c (diff)
parent832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0 (diff)
Merge pull request #547 from stilor/separate-canadian-crosses-instdir
Simplify the pre-build actions a bit
Diffstat (limited to 'ct-ng.in')
-rw-r--r--ct-ng.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 51b1ff6..d856828 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -136,19 +136,14 @@ help-env::
@echo "or configure an existing sample."
@false
-.config.2: .config
- $(SILENT)$(sed) -r -e 's/^([^=]+_ARRAY)="(.*)"$$/\1=( \2 )/;' \
- -e '/^[^=]+_ARRAY=/s/\\(.)/\1/g;' \
- $< >$@
-
-show-tuple: .config.2
- $(SILENT)$(bash) $(CT_LIB_DIR)/scripts/showTuple.sh
+show-tuple: .config
+ $(SILENT)$(bash) $(CT_LIB_DIR)/scripts/showConfig.sh '$${CT_TARGET}'
# Actual build
-source: .config.2
+source: .config
$(SILENT)CT_SOURCE=y $(CT_LIB_DIR)/scripts/crosstool-NG.sh
-build: .config.2
+build: .config
$(SILENT)$(CT_LIB_DIR)/scripts/crosstool-NG.sh
build.%: