Makefile

changeset 919
cd3825b29830
parent 912
a667caba1e84
child 1133
50aaf272884f
child 1140
6d0ebf545f49
     1.1 --- a/Makefile	Thu Dec 05 10:32:36 2013 -0800
     1.2 +++ b/Makefile	Mon Dec 09 14:43:16 2013 +0100
     1.3 @@ -66,12 +66,12 @@
     1.4      # First, find out the valid targets
     1.5      # Run the makefile with an arbitrary SPEC using -p -q (quiet dry-run and dump rules) to find
     1.6      # available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
     1.7 -    all_phony_targets=$(filter-out $(global_targets) bundles-only, $(strip $(shell \
     1.8 -        $(MAKE) -p -q -f make/Main.gmk FRC SPEC=$(firstword $(SPEC)) | \
     1.9 +    all_phony_targets=$(filter-out $(global_targets) bundles bundles-only final-images-only, $(strip $(shell \
    1.10 +        cd $(root_dir) && $(MAKE) -p -q FRC SPEC=$(firstword $(SPEC)) | \
    1.11          grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
    1.12  
    1.13      $(all_phony_targets):
    1.14 -	@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) \
    1.15 +	@$(foreach spec,$(SPEC),(cd $(root_dir) && $(MAKE) SPEC=$(spec) \
    1.16  	    $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
    1.17  
    1.18      .PHONY: $(all_phony_targets)

mercurial