vendor/cm: Expose internal revision for platform.

TICKET: CYNGNOS-724
Change-Id: I9d93ca77fd888046cb4733a73ace2ee337c46300
This commit is contained in:
Adnan Begovic 2015-08-11 15:51:54 -07:00
parent f4a4458e4c
commit 4534c7ae3b
1 changed files with 11 additions and 0 deletions

View File

@ -335,6 +335,13 @@ ifndef CM_PLATFORM_SDK_VERSION
CM_PLATFORM_SDK_VERSION := 2
endif
ifndef CM_PLATFORM_REV
# For internal SDK revisions that are hotfixed/patched
# Reset after each CM_PLATFORM_SDK_VERSION release
# If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
CM_PLATFORM_REV := 0
endif
PRODUCT_PROPERTY_OVERRIDES += \
ro.cm.display.version=$(CM_DISPLAY_VERSION)
@ -342,6 +349,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION)
# CyanogenMod Platform Internal
PRODUCT_PROPERTY_OVERRIDES += \
ro.cm.build.version.plat.rev=$(CM_PLATFORM_REV)
-include $(WORKSPACE)/build_env/image-auto-bits.mk
-include vendor/cyngn/product.mk