diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-11-16 06:14:27 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-11-16 06:18:54 -0600 |
commit | 0ea8c014ef44695d0fd94f8738654e123e154cc0 (patch) | |
tree | cba63bc66aea56290c24569477ee87185d017077 /GNUmakefile.mk | |
parent | 9d76072055074cdd4bbd29ce6ba33c9499509fff (diff) |
tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
Diffstat (limited to 'GNUmakefile.mk')
-rw-r--r-- | GNUmakefile.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/GNUmakefile.mk b/GNUmakefile.mk index 1810a2ec8b66..e190825b05ae 100644 --- a/GNUmakefile.mk +++ b/GNUmakefile.mk @@ -27,11 +27,10 @@ #************************************************************************* ifeq ($(strip $(SOLARENV)),) -$(error No environment set!) +include ./solenv/gbuild/source_and_rerun.mk endif -GBUILDDIR := $(SOLARENV)/gbuild -include $(GBUILDDIR)/gbuild.mk +include $(SOLARENV)/gbuild/gbuild.mk $(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk))) |