addonsu: Add Lineage version to zip name

* Avoid confusion

Change-Id: I823d77e037b0d0dc2a4b9f0466d594213c72e179
This commit is contained in:
Michael Bestas 2017-04-28 23:55:07 +03:00
parent 116515991c
commit c30dc1b5ea

View File

@ -1,7 +1,7 @@
ADDONSU_PREBUILTS_PATH := vendor/cm/addonsu/ ADDONSU_PREBUILTS_PATH := vendor/cm/addonsu/
ADDONSU_INSTALL_OUT := $(PRODUCT_OUT)/addonsu-install/ ADDONSU_INSTALL_OUT := $(PRODUCT_OUT)/addonsu-install/
ADDONSU_INSTALL_TARGET := $(PRODUCT_OUT)/addonsu-$(TARGET_ARCH).zip ADDONSU_INSTALL_TARGET := $(PRODUCT_OUT)/addonsu-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(TARGET_ARCH).zip
$(ADDONSU_INSTALL_TARGET): $(ALL_MODULES.updater.BUILT) \ $(ADDONSU_INSTALL_TARGET): $(ALL_MODULES.updater.BUILT) \
$(ALL_MODULES.su.BUILT) $(ALL_MODULES.su.BUILT)
@ -22,7 +22,7 @@ addonsu: $(ADDONSU_INSTALL_TARGET)
ADDONSU_REMOVE_OUT := $(PRODUCT_OUT)/addonsu-remove/ ADDONSU_REMOVE_OUT := $(PRODUCT_OUT)/addonsu-remove/
ADDONSU_REMOVE_TARGET := $(PRODUCT_OUT)/addonsu-remove-$(TARGET_ARCH).zip ADDONSU_REMOVE_TARGET := $(PRODUCT_OUT)/addonsu-remove-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(TARGET_ARCH).zip
$(ADDONSU_REMOVE_TARGET): $(ALL_MODULES.updater.BUILT) $(ADDONSU_REMOVE_TARGET): $(ALL_MODULES.updater.BUILT)
$(hide) rm -rf $@ $(ADDONSU_REMOVE_OUT) $(hide) rm -rf $@ $(ADDONSU_REMOVE_OUT)