match gbuild rules that contain a slash

Change-Id: Id50d89114a7569a9c7429204ce73217cf7a4c131
This commit is contained in:
Peter Foley 2013-03-24 09:34:55 -04:00
parent 09d4525b11
commit 96f943045a

View file

@ -88,7 +88,9 @@ define gbuild_modules_rules
$(foreach m,$(1),$(call gbuild_module_rules,$(m))) $(foreach m,$(1),$(call gbuild_module_rules,$(m)))
endef endef
$(eval $(call gbuild_modules_rules,$(filter-out Module%,$(subst /, ,$(subst $(SRCDIR)/,,$(wildcard $(SRCDIR)/*/Module_*.mk)))))) gbuild_modules := $(filter-out Module%,$(subst /, ,$(subst $(SRCDIR)/,,$(wildcard $(SRCDIR)/*/Module_*.mk))))
$(eval $(call gbuild_modules_rules,$(gbuild_modules)))
gbuild_TARGETS := AllLangHelp \ gbuild_TARGETS := AllLangHelp \
AllLangResTarget \ AllLangResTarget \
@ -124,7 +126,7 @@ gbuild_TARGETS := AllLangHelp \
WinResTarget \ WinResTarget \
Zip Zip
# build a generic gbuild target # build a generic gbuild target
$(foreach target,$(gbuild_TARGETS),$(target)_%): $(foreach target,$(gbuild_TARGETS),$(target)_% $(foreach module,$(gbuild_modules),$(target)_$(module)/%)):
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@ $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
# #