8016303: make CONF= isn't working
Reviewed-by: tbell
This commit is contained in:
parent
bf403c2e7e
commit
3b0b76b721
@ -68,12 +68,15 @@ else
|
|||||||
# First, find out the valid targets
|
# First, find out the valid targets
|
||||||
# Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find
|
# Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find
|
||||||
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
|
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
|
||||||
all_phony_targets=$(filter-out $(global_targets), $(strip $(shell \
|
all_phony_targets=$(filter-out $(global_targets) bundles-only, $(strip $(shell \
|
||||||
$(MAKE) -p -q -f common/makefiles SPEC=$(firstword $(SPEC)) | \
|
$(MAKE) -p -q -f common/makefiles/Main.gmk SPEC=$(firstword $(SPEC)) | \
|
||||||
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
|
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
|
||||||
|
|
||||||
$(all_phony_targets):
|
$(all_phony_targets):
|
||||||
@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
|
$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) \
|
||||||
|
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
|
||||||
|
|
||||||
|
.PHONY: $(all_phony_targets)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user