cm verison cleanup, modversion legacy support
Change-Id: I2af5640ff319bb5861df08338e612c5eab3c6831
This commit is contained in:
parent
4102233330
commit
d69b2920af
@ -100,19 +100,19 @@ PRODUCT_VERSION_MAINTENANCE = 0-RC0
|
|||||||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
|
||||||
|
|
||||||
ifdef CM_NIGHTLY
|
ifdef CM_NIGHTLY
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
CM_VERSION :=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_DEVICE)
|
||||||
ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_DEVICE)
|
|
||||||
else
|
else
|
||||||
ifdef CM_SNAPSHOT
|
ifdef CM_SNAPSHOT
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-SNAPSHOT-$(PRODUCT_DEVICE)$(CM_EXTRAVERSION)
|
||||||
ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-SNAPSHOT-$(PRODUCT_DEVICE)$(CM_EXTRAVERSION)
|
|
||||||
else
|
else
|
||||||
ifdef CM_RELEASE
|
ifdef CM_RELEASE
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_DEVICE)
|
||||||
ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_DEVICE)
|
|
||||||
else
|
else
|
||||||
|
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_DEVICE)-KANG
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_DEVICE)-KANG
|
ro.cm.version=$(CM_VERSION) \
|
||||||
endif
|
ro.modversion=$(CM_VERSION)
|
||||||
endif
|
|
||||||
endif
|
|
Loading…
Reference in New Issue
Block a user