diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2012-12-23 09:21:46 +0530 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-03-03 05:54:15 -0800 |
commit | 9e215451006657b1a6de26f83924e207ede99114 (patch) | |
tree | 44fba8950b235a6bce1a7a878559528d89114230 /core | |
parent | 65181ff4529664a40e7cd7afe8b4cb6ad3a3f7f1 (diff) | |
download | build-9e215451006657b1a6de26f83924e207ede99114.zip build-9e215451006657b1a6de26f83924e207ede99114.tar.gz build-9e215451006657b1a6de26f83924e207ede99114.tar.bz2 |
bacon: get rid of squisher
Change-Id: I3cece868e56f85bfa0b31a62a51e6eab2070ab06
Diffstat (limited to 'core')
-rw-r--r-- | core/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/Makefile b/core/Makefile index 1359a6e..be01706 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1326,16 +1326,17 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS) --override_device=$(override_device) \ $(BUILT_TARGET_FILES_PACKAGE) $@ +CM_TARGET_PACKAGE := $(PRODUCT_OUT)/cm-$(CM_VERSION).zip + .PHONY: otapackage bacon otapackage: $(INTERNAL_OTA_PACKAGE_TARGET) bacon: otapackage ifneq ($(TARGET_CUSTOM_RELEASETOOL),) - @echo -e ${CL_YLW}"Running custom releasetool..."${CL_RST} - $(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) APKCERTS=$(APKCERTS_FILE) $(TARGET_CUSTOM_RELEASETOOL) -else - @echo -e ${CL_YLW}"Running releasetool..."${CL_RST} - $(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) APKCERTS=$(APKCERTS_FILE) ./vendor/cm/tools/squisher + $(error TARGET_CUSTOM_RELEASETOOL is deprecated) endif + $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(CM_TARGET_PACKAGE) + $(hide) $(MD5SUM) $(CM_TARGET_PACKAGE) > $(CM_TARGET_PACKAGE).md5sum + @echo -e ${CL_CYN}"Package Complete: $(CM_TARGET_PACKAGE)"${CL_RST} # ----------------------------------------------------------------- # The update package |