diff options
author | Scott Mertz <scott@cyngn.com> | 2016-08-05 12:24:19 -0700 |
---|---|---|
committer | Scott Mertz <scott@cyngn.com> | 2016-08-05 12:26:54 -0700 |
commit | a995059030c2b189ff352589caf2fc0342547330 (patch) | |
tree | 6ec0c408704670fee0b04cda317d73b02164d08c /config | |
parent | a516c2f0ac555f2d9b7284a2b89909373a25b6a5 (diff) | |
download | vendor_replicant-a995059030c2b189ff352589caf2fc0342547330.zip vendor_replicant-a995059030c2b189ff352589caf2fc0342547330.tar.gz vendor_replicant-a995059030c2b189ff352589caf2fc0342547330.tar.bz2 |
Allow maintenance versions to be ignored
CyanogenMod builds shouldn't show maintenance versions. Allow the
environment to override this behavior instead
Change-Id: I77c924a13122c8e1d9af14501e46bc532f7aefbd
Diffstat (limited to 'config')
-rw-r--r-- | config/common.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/common.mk b/config/common.mk index 10fdbae..297ae1c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -233,7 +233,12 @@ DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common PRODUCT_VERSION_MAJOR = 13 PRODUCT_VERSION_MINOR = 0 -PRODUCT_VERSION_MAINTENANCE = 1 +ifeq ($(TARGET_VENDOR_SHOW_MAINTENANCE_VERSION),true) + PRODUCT_VERSION_MAINTENANCE := 1 +else + # 0 is ignored + PRODUCT_VERSION_MAINTENANCE := 0 +endif # Set CM_BUILDTYPE from the env RELEASE_TYPE, for jenkins compat |