diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-24 09:34:55 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-24 10:21:31 -0400 |
commit | 96f943045af9068d1e6b5453836eccdbc140e677 (patch) | |
tree | 550ae1d6f6886f4e9dd92dd7a56c33cd4ed3ecd7 /Makefile.in | |
parent | 09d4525b11f396a68ca7c5cbb1ae3462db40c77c (diff) |
match gbuild rules that contain a slash
Change-Id: Id50d89114a7569a9c7429204ce73217cf7a4c131
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 0ae475a0c42f..626c726746c2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -88,7 +88,9 @@ define gbuild_modules_rules $(foreach m,$(1),$(call gbuild_module_rules,$(m))) 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 \ AllLangResTarget \ @@ -124,7 +126,7 @@ gbuild_TARGETS := AllLangHelp \ WinResTarget \ Zip # 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 $@ # |