diff --git a/config/common.mk b/config/common.mk index cfd735df..85a21730 100644 --- a/config/common.mk +++ b/config/common.mk @@ -322,9 +322,23 @@ endif # by default, do not update the recovery with system updates PRODUCT_PROPERTY_OVERRIDES += persist.sys.recovery_update=false +ifndef CM_PLATFORM_SDK_VERSION + # This is the canonical definition of the SDK version, which defines + # the set of APIs and functionality available in the platform. It + # is a single integer that increases monotonically as updates to + # the SDK are released. It should only be incremented when the APIs for + # the new release are frozen (so that developers don't write apps against + # intermediate builds). + CM_PLATFORM_SDK_VERSION := 1 +endif + PRODUCT_PROPERTY_OVERRIDES += \ ro.cm.display.version=$(CM_DISPLAY_VERSION) +# CyanogenMod Platform SDK Version +PRODUCT_PROPERTY_OVERRIDES += \ + ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION) + -include $(WORKSPACE)/build_env/image-auto-bits.mk -include vendor/cyngn/product.mk