summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-29 10:31:15 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-29 10:31:15 (GMT)
commit993eeb9f8f147b23697b64079893ed69a3492f09 (patch)
treebc98d37d877eacd8bc20181aa6f1389fa37c0ff8
parent9c2b2a91f72335b55f8a37001e7efdc76757592b (diff)
Use $(MAKE) for recursive calls, don't directly use $(CT_NG).
Pass on the V variable on the $(MAKE) command lines. /trunk/steps.mk | 6 3 3 0 +++--- /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 4 insertions(+), 4 deletions(-)
-rw-r--r--ct-ng.in2
-rw-r--r--steps.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 31b0628..4532534 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -123,7 +123,7 @@ build: .config
$(SILENT)$(CT_LIB_DIR)/scripts/crosstool.sh
build.%:
- $(SILENT)$(CT_NG) $(shell echo "$(@)" |sed -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
+ $(SILENT)$(MAKE) -rf $(CT_NG) $(shell echo "$(@)" |sed -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
PHONY += tarball
#tarball:
diff --git a/steps.mk b/steps.mk
index acb6cef..2dbf5d1 100644
--- a/steps.mk
+++ b/steps.mk
@@ -48,10 +48,10 @@ list-steps:
# This part deals with executing steps
$(CT_STEPS):
- $(SILENT)$(MAKE) -rf $(CT_NG) RESTART=$@ STOP=$@ build
+ $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) RESTART=$@ STOP=$@ build
$(patsubst %,+%,$(CT_STEPS)):
- $(SILENT)$(MAKE) -rf $(CT_NG) STOP=$(patsubst +%,%,$@) build
+ $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) STOP=$(patsubst +%,%,$@) build
$(patsubst %,%+,$(CT_STEPS)):
- $(SILENT)$(MAKE) -rf $(CT_NG) RESTART=$(patsubst %+,%,$@) build
+ $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) RESTART=$(patsubst %+,%,$@) build