summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-29 02:21:20 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-09-29 02:43:28 -0500
commit47894cdf75ffe29a3a070a884130565424af35f0 (patch)
tree955e89f2056e1c4caa4cc7bb2aecd7c1fb1c9f09 /solenv
parent311babc08009ff4014f9b6b14d82ca41f5e6f942 (diff)
beautify Module_tailbuild a bit
Change-Id: If54d57c962c6cb97c539e46f2ea747668706770e
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 a75a6e0c05f9..c210cd716a61 100644
--- a/solenv/gbuild/Helper.mk
+++ b/solenv/gbuild/Helper.mk
@@ -189,4 +189,8 @@ endef
# gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use
# for libraries from the OUTDIR
+define gb_Helper_optional
+$(if $(filter $(1),$(BUILD_TYPE)),$(2))
+endef
+
# vim: set noet sw=4 ts=4: