equal
deleted
inserted
replaced
66 else |
66 else |
67 # We are building multiple configurations. |
67 # We are building multiple configurations. |
68 # First, find out the valid targets |
68 # First, find out the valid targets |
69 # Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find |
69 # Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find |
70 # available PHONY targets. Use this list as valid targets to pass on to the repeated calls. |
70 # available PHONY targets. Use this list as valid targets to pass on to the repeated calls. |
71 all_phony_targets=$(filter-out $(global_targets), $(strip $(shell \ |
71 all_phony_targets=$(filter-out $(global_targets) bundles-only, $(strip $(shell \ |
72 $(MAKE) -p -q -f common/makefiles SPEC=$(firstword $(SPEC)) | \ |
72 $(MAKE) -p -q -f common/makefiles/Main.gmk SPEC=$(firstword $(SPEC)) | \ |
73 grep ^.PHONY: | head -n 1 | cut -d " " -f 2-))) |
73 grep ^.PHONY: | head -n 1 | cut -d " " -f 2-))) |
74 |
74 |
75 $(all_phony_targets): |
75 $(all_phony_targets): |
76 @$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true |
76 $(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) \ |
|
77 $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true |
|
78 |
|
79 .PHONY: $(all_phony_targets) |
77 |
80 |
78 endif |
81 endif |
79 endif |
82 endif |
80 |
83 |
81 # Include this after a potential spec file has been included so that the bundles target |
84 # Include this after a potential spec file has been included so that the bundles target |