diff options
author | Ying Wang <wangying@google.com> | 2012-04-02 09:11:47 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-02 09:11:47 -0700 |
commit | d222192fb0ee238cc7ff779ae6b607ea46a81755 (patch) | |
tree | 7421680002e15b9febbc22f070dd9e50ec1807ed /core/Makefile | |
parent | 0cae3313e2f358f022bb051e6eb32fd0fc5530be (diff) | |
parent | 4c289e5041270f4d697fa5f5b4c027ad07cfba0e (diff) | |
download | build-d222192fb0ee238cc7ff779ae6b607ea46a81755.zip build-d222192fb0ee238cc7ff779ae6b607ea46a81755.tar.gz build-d222192fb0ee238cc7ff779ae6b607ea46a81755.tar.bz2 |
Merge "Generate platfrom.zip for build goal "platform"."
Diffstat (limited to 'core/Makefile')
-rw-r--r-- | core/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile index bb714ab..4475071 100644 --- a/core/Makefile +++ b/core/Makefile @@ -800,6 +800,21 @@ systemtarball-nodeps: $(FS_GET_STATS) \ .PHONY: stnod stnod: systemtarball-nodeps +####### +## platform.zip: system in a zip file +INSTALLED_PLATFROM_ZIP := $(PRODUCT_OUT)/platform.zip +$(INSTALLED_PLATFROM_ZIP) : $(INTERNAL_SYSTEMIMAGE_FILES) + $(call pretty,"Platform zip package: $(INSTALLED_PLATFROM_ZIP)") + $(hide) rm -f $@ + $(hide) cd $(dir $@) && zip -qry $(notdir $@) system + +.PHONY: platform +platform: $(INSTALLED_PLATFROM_ZIP) + +# Dist the platform.zip +ifneq (,$(filter platform, $(MAKECMDGOALS))) +$(call dist-for-goals, platform, $(INSTALLED_PLATFROM_ZIP)) +endif ####### ## boot tarball |