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(-)
This commit is contained in:
Yann E. MORIN" 2008-10-29 10:31:15 +00:00
parent 9c2b2a91f7
commit 993eeb9f8f
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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