summaryrefslogtreecommitdiffstats
path: root/solenv/gbuild/Zip.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-02-12 13:38:35 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-02-19 19:24:32 +0100
commit8c2a56253abe04b76395e8eea1d2a9d9893601cf (patch)
tree636bb1be703d9c58c3c2189b3ed78e47a2c06895 /solenv/gbuild/Zip.mk
parentgbuild: Zip: clean properly all created targets on 'make clean' (diff)
downloadcore-8c2a56253abe04b76395e8eea1d2a9d9893601cf.tar.gz
core-8c2a56253abe04b76395e8eea1d2a9d9893601cf.zip
gbuild: Zip: allow to add command line options when zipping
Diffstat (limited to 'solenv/gbuild/Zip.mk')
-rw-r--r--solenv/gbuild/Zip.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/Zip.mk b/solenv/gbuild/Zip.mk
index 69e1f402f2ee..f4f7b783b13b 100644
--- a/solenv/gbuild/Zip.mk
+++ b/solenv/gbuild/Zip.mk
@@ -115,4 +115,9 @@ $(foreach dependency,$(2),$(call gb_Zip_add_dependency,$(1),$(dependency)))
endef
+define gb_Zip_add_commandoptions
+$(call gb_Zip_get_target,$(1)) : gb_Zip_ZIPCOMMAND += $(2)
+
+endef
+
# vim: set noet sw=4 ts=4: