summaryrefslogtreecommitdiffstats
path: root/build/tasks/addonsu.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks/addonsu.mk')
-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)