summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-02 12:02:21 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-02 12:02:21 +0800
commita0300d400ace78f8045f17c24db33ce6d38dc072 (patch)
tree228bb1fbbb348bc4f4b18e7aede7113b21ba1231
parentdde61aa633c9faf147633ff129db7b5558221ad6 (diff)
downloadbuild-a0300d400ace78f8045f17c24db33ce6d38dc072.zip
build-a0300d400ace78f8045f17c24db33ce6d38dc072.tar.gz
build-a0300d400ace78f8045f17c24db33ce6d38dc072.tar.bz2
build: Rebrand CM_VERSION to LINEAGE_VERSION
Change-Id: I8b44007ebbe395df3c989be37a5d45339f111130
-rw-r--r--core/Makefile2
-rw-r--r--core/dumpvar.mk2
-rw-r--r--envsetup.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile
index f7ae05b..eb9d5fd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1922,7 +1922,7 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
$(if $(OEM_OTA_CONFIG), -o $(OEM_OTA_CONFIG)) \
$(BUILT_TARGET_FILES_PACKAGE) $@
-CM_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(CM_VERSION).zip
+CM_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip
.PHONY: otapackage bacon
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
diff --git a/core/dumpvar.mk b/core/dumpvar.mk
index b25698a..0166e96 100644
--- a/core/dumpvar.mk
+++ b/core/dumpvar.mk
@@ -67,7 +67,7 @@ HOST_OS_EXTRA:=$(shell python -c "import platform; print(platform.platform())")
$(info ============================================)
$(info PLATFORM_VERSION_CODENAME=$(PLATFORM_VERSION_CODENAME))
$(info PLATFORM_VERSION=$(PLATFORM_VERSION))
-$(info LINEAGE_VERSION=$(CM_VERSION))
+$(info LINEAGE_VERSION=$(LINEAGE_VERSION))
$(info TARGET_PRODUCT=$(TARGET_PRODUCT))
$(info TARGET_BUILD_VARIANT=$(TARGET_BUILD_VARIANT))
$(info TARGET_BUILD_TYPE=$(TARGET_BUILD_TYPE))
diff --git a/envsetup.sh b/envsetup.sh
index cdbaeec..aed0616 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -734,7 +734,7 @@ function tapas()
function eat()
{
if [ "$OUT" ] ; then
- MODVERSION=$(get_build_var CM_VERSION)
+ MODVERSION=$(get_build_var LINEAGE_VERSION)
ZIPFILE=lineage-$MODVERSION.zip
ZIPPATH=$OUT/$ZIPFILE
if [ ! -f $ZIPPATH ] ; then