Merge "vendor: support custom unofficial build tags" into cm-11.0
This commit is contained in:
commit
af99ef73a0
@ -272,6 +272,12 @@ else
|
|||||||
CM_EXTRAVERSION :=
|
CM_EXTRAVERSION :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CM_BUILDTYPE), UNOFFICIAL)
|
||||||
|
ifneq ($(TARGET_UNOFFICIAL_BUILD_ID),)
|
||||||
|
CM_EXTRAVERSION := "-$(TARGET_UNOFFICIAL_BUILD_ID)"
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CM_BUILDTYPE), RELEASE)
|
ifeq ($(CM_BUILDTYPE), RELEASE)
|
||||||
ifndef TARGET_VENDOR_RELEASE_BUILD_ID
|
ifndef TARGET_VENDOR_RELEASE_BUILD_ID
|
||||||
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD)
|
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD)
|
||||||
|
Loading…
Reference in New Issue
Block a user