summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2017-04-28 23:55:07 +0300
committerMichael Bestas <mkbestas@lineageos.org>2017-04-28 20:55:59 +0000
commitc30dc1b5eaa6b77fea5190721b365c7a7d6b4b47 (patch)
treeb7f3db49abaef56b8901d92e29b6879331c5934b
parent116515991c4eb230a6134559f82afa9859a59e8f (diff)
downloadvendor_replicant-c30dc1b5eaa6b77fea5190721b365c7a7d6b4b47.zip
vendor_replicant-c30dc1b5eaa6b77fea5190721b365c7a7d6b4b47.tar.gz
vendor_replicant-c30dc1b5eaa6b77fea5190721b365c7a7d6b4b47.tar.bz2
addonsu: Add Lineage version to zip name
* Avoid confusion Change-Id: I823d77e037b0d0dc2a4b9f0466d594213c72e179
-rw-r--r--build/tasks/addonsu.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tasks/addonsu.mk b/build/tasks/addonsu.mk
index 2fbeb43..1c360f3 100644
--- a/build/tasks/addonsu.mk
+++ b/build/tasks/addonsu.mk
@@ -1,7 +1,7 @@
ADDONSU_PREBUILTS_PATH := vendor/cm/addonsu/
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) \
$(ALL_MODULES.su.BUILT)
@@ -22,7 +22,7 @@ addonsu: $(ADDONSU_INSTALL_TARGET)
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)
$(hide) rm -rf $@ $(ADDONSU_REMOVE_OUT)