summaryrefslogtreecommitdiff
path: root/solenv/gbuild/templates/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild/templates/Makefile')
-rw-r--r--solenv/gbuild/templates/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/solenv/gbuild/templates/Makefile b/solenv/gbuild/templates/Makefile
index 90947b2e5f48..78def2598caa 100644
--- a/solenv/gbuild/templates/Makefile
+++ b/solenv/gbuild/templates/Makefile
@@ -26,13 +26,13 @@
#*************************************************************************
ifeq ($(strip $(SOLARENV)),)
-$(error No environment set!)
-endif
+include ../solenv/gbuild/source_and_rerun.mk
+else
gb_PARTIALBUILD := T
-GBUILDDIR := $(SOLARENV)/gbuild
-include $(GBUILDDIR)/gbuild.mk
+include $(SOLARENV)/gbuild/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+endif
# vim: set noet sw=4 ts=4: