Fix inconsistent dependencies of "make $MODULE" vs. "make $MODULE.build" etc.

...where the latter failed to rebuild compilerplugins if necessary, while the
former did.

(No idea about the proper dependencies of "make $MODULE.showdeliverables".)

Change-Id: Ib6f8e193445229745475aa52eb7a78ebb30e49e5
This commit is contained in:
Stephan Bergmann 2016-06-29 15:03:13 +02:00
parent bc578df9ae
commit 102d87fc36

View file

@ -88,7 +88,10 @@ define gb_Top_GbuildModuleRules
$(1): bootstrap fetch
cd $(SRCDIR)/$(2) && $$(MAKE) $(IWYU_OPTION) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS)
$(1).build $(1).check $(1).clean $(1).showdeliverables $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target)):
$(1).build $(1).check $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target)): bootstrap fetch
cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
$(1).clean $(1).showdeliverables:
cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
$(1).all: bootstrap fetch