summaryrefslogtreecommitdiff
path: root/solenv/gbuild/partial_build.mk
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-01-24 15:48:30 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-05 19:34:05 -0600
commitc857dff7fc4b180c1d405ea5584e06c0581427ae (patch)
treee2f20f13825aa2c0ba078ae77f2723452d9a957f /solenv/gbuild/partial_build.mk
parent909cd34b7b0982078a50b9ed46cf57811d9571df (diff)
switch to include-based build rather than sourced-based build
Diffstat (limited to 'solenv/gbuild/partial_build.mk')
-rw-r--r--solenv/gbuild/partial_build.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/solenv/gbuild/partial_build.mk b/solenv/gbuild/partial_build.mk
new file mode 100644
index 000000000000..808917b937d1
--- /dev/null
+++ b/solenv/gbuild/partial_build.mk
@@ -0,0 +1,14 @@
+
+gb_PARTIALBUILD := T
+
+ifeq ($(SOLARENV),)
+ifeq ($(gb_Side),)
+gb_Side:=host
+endif
+include $(module_directory)/../config_$(gb_Side).mk
+endif
+
+gb_SourceEnvAndRecurse_STAGE=gbuild
+include $(SOLARENV)/gbuild/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(module_directory)/Module*.mk)))