summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-14 10:17:56 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-14 10:31:20 +0200
commitf9890873d448865a268126f8001c25317c3d3bfc (patch)
tree1966c7c22fb2c14cd987f1c30bc7db2e74bde1b0 /solenv
parent2b9394f0c009b385756a0c5d75e3c1cd412f7236 (diff)
Build DESKTOP stuff for BUILD only if HOST is of type DESKTOP
The helplinker library has grown a dependency on the svt and tl libraries. But the helpcompiler module is needed to be built for the BUILD platform only if the HOST platform's BUILD_TYPE includes DESKTOP (or only if its BUILD_TYPE includes HELP?). We used to build helpcompiler and some other things for the BUILD platform depending on whether the BUILD platform's BUILD_TYPE included DESKTOP. Also, codemaker should surely be built for BUILD unconditionally, ant xmlhelp presumably not at all. Change-Id: I3df995ce6b92da4ce9eb35115cf3e8560e06f292
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Helper.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk
index 15bf96510808..d013d140f5b1 100644
--- a/solenv/gbuild/Helper.mk
+++ b/solenv/gbuild/Helper.mk
@@ -216,4 +216,8 @@ define gb_Helper_optional
$(if $(filter $(1),$(BUILD_TYPE)),$(2))
endef
+define gb_Helper_optional_for_host
+$(if $(filter $(1),$(BUILD_TYPE_FOR_HOST)),$(2))
+endef
+
# vim: set noet sw=4 ts=4: