summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-18 21:56:03 -0400
committerPeter Foley <pefoley2@verizon.net>2013-03-18 21:57:02 -0400
commitf90f71e2685310af6461bc3ed27eb9252ea40d69 (patch)
treeac23421635d703433f9004690d3d04ac551036ce
parent980c1179bbde47bab53410794795781d0e61e82a (diff)
add userfriendly targets for ZipPackage
Change-Id: I5e8876bfbca7d9c063a6200e41b31d99763a7829
-rw-r--r--solenv/gbuild/TargetLocations.mk1
-rw-r--r--solenv/gbuild/ZipPackage.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk
index 7434e65d488b..2583ea0e8ef6 100644
--- a/solenv/gbuild/TargetLocations.mk
+++ b/solenv/gbuild/TargetLocations.mk
@@ -234,6 +234,7 @@ gb_XcuMergeTarget_get_target = $(WORKDIR)/XcuMergeTarget/$(1)
gb_XcuResTarget_get_target = $(WORKDIR)/XcuResTarget/$(1)
gb_Zip_get_target = $(WORKDIR)/Zip/$(1).zip
gb_Zip_get_final_target = $(WORKDIR)/Zip/$(1).done
+gb_ZipPackage_get_target = $(WORKDIR)/ZipPackage/$(1)
gb_Library__get_final_target = $(WORKDIR)/Dummy/$(1)
diff --git a/solenv/gbuild/ZipPackage.mk b/solenv/gbuild/ZipPackage.mk
index f7e37e21f610..34c6b1d1d496 100644
--- a/solenv/gbuild/ZipPackage.mk
+++ b/solenv/gbuild/ZipPackage.mk
@@ -23,6 +23,8 @@ $(call gb_Zip_get_outdir_bin_target,$(1)) : $(call gb_Zip_get_target,$(1))
cp $$< $$@
$(call gb_Zip_get_outdir_bin_target,$(1)) :| $(dir $(call gb_Zip_get_outdir_bin_target,$(1))).dir
$(call gb_Package_get_clean_target,$(1)) : $(call gb_Zip_get_clean_target,$(1))
+$(call gb_ZipPackage_get_target,$(1)) : $(call gb_Package_get_target,$(1))
+$(call gb_Helper_make_userfriendly_targets,$(1),ZipPackage)
endef