From 993eeb9f8f147b23697b64079893ed69a3492f09 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 29 Oct 2008 10:31:15 +0000 Subject: 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(-) 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 -- cgit v0.10.2-6-g49f6