diff options
Diffstat (limited to 'GNUmakefile.mk')
-rw-r--r-- | GNUmakefile.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile.mk b/GNUmakefile.mk index e190825b05ae..6d613a6b4971 100644 --- a/GNUmakefile.mk +++ b/GNUmakefile.mk @@ -27,11 +27,12 @@ #************************************************************************* ifeq ($(strip $(SOLARENV)),) -include ./solenv/gbuild/source_and_rerun.mk +include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/solenv/gbuild/source_and_rerun.mk +else +include $(SOLARENV)/gbuild/gbuild.mk +$(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk))) endif -include $(SOLARENV)/gbuild/gbuild.mk -$(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk))) # vim: set noet sw=4 ts=4: |