summaryrefslogtreecommitdiff
path: root/GNUmakefile.mk
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-12-20 05:05:21 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-01-10 21:35:25 -0600
commitfa9f2897aea645d625b466317a346df8ec4dda41 (patch)
tree14f707d1c4dbc3be359e27a207bc03756589cdf5 /GNUmakefile.mk
parent185f7225ea558079dfa810ca8a6bc26d3761f9a9 (diff)
making multirepo build more generic
Diffstat (limited to 'GNUmakefile.mk')
-rw-r--r--GNUmakefile.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/GNUmakefile.mk b/GNUmakefile.mk
index 51b2f03b2bb1..95fe9e558fe2 100644
--- a/GNUmakefile.mk
+++ b/GNUmakefile.mk
@@ -30,12 +30,8 @@ $(error No environment set!)
endif
GBUILDDIR := $(SOLARENV)/gbuild
-include $(dir $(lastword $(MAKEFILE_LIST)))/SourcePath.mk
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets,$(shell ls $(SRCDIR)/Module_*.mk)))
-
-
-include $(foreach repo,$(filter-out $(SRCDIR),$(gb_REPOS)),$(repo)/$(notdir $(firstword $(MAKEFILE_LIST))))
+$(foreach repo,$(gb_REPOS),$(eval $(call gb_Module_make_global_targets,$(shell ls $(repo)/Module_*.mk))))
# vim: set noet sw=4 ts=4: