cm: include minor version in CM_VERSION if not 0
Change-Id: I0b7d0227bcb0fc5de831bcb065e087afece89a34
This commit is contained in:
parent
da95d9f44e
commit
e6e61634cd
1 changed files with 5 additions and 1 deletions
|
@ -210,7 +210,11 @@ endif
|
|||
ifdef CM_RELEASE
|
||||
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD)
|
||||
else
|
||||
ifeq ($(PRODUCT_VERSION_MINOR),0)
|
||||
CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date -u +%Y%m%d)-$(CM_BUILDTYPE)-$(CM_BUILD)$(CM_EXTRAVERSION)
|
||||
else
|
||||
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(shell date -u +%Y%m%d)-$(CM_BUILDTYPE)-$(CM_BUILD)$(CM_EXTRAVERSION)
|
||||
endif
|
||||
endif
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
|
Loading…
Reference in a new issue