mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
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:
parent
9c2b2a91f7
commit
993eeb9f8f
2
ct-ng.in
2
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:
|
||||
|
6
steps.mk
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user