We have been using a system where each vendor makefile needed to be
updated for each release. This leads to both redundancy and
inconsistency across devices. This patch externalizes version code to
the common_versions.mk.
As we all know CyanogenMod versioning works as such:
MAJOR.MINOR.MAINTENACE.DEVICE_SPECIFIC (i.e. 7.1.0.1)
common_versions.mk now contains the first three in the form of the
following variables: PRODUCT_VERSION_MAJOR, PRODUCT_VERSION_MINOR,
PRODUCT_VERSION_MAINTENANCE.
Additionally, each device makefile contains two additional flags
which control both the release name (the name that appears in the
generated zip) and the device-specific version (empty by default,
to be bumped on a per device basis), example:
PRODUCT_RELEASE_NAME := XperiaArc-LT15i
PRODUCT_VERSION_DEVICE_SPECIFIC := .1
Change-Id: I15d18e27b89ea00109a61cb66e3bffbb061a2ed4
Having it here moves them to the end of the PRODUCT_LOCALES list,
so it doesn't mess up the default language locale in the rom,
making it look like this: http://oi53.tinypic.com/4ttyr5.jpg
Change-Id: I7eb5c3b995ee9f3fd1304039d2e339c0c8de692e
Capable devices now inherit from common_full.mk, where smaller devices
can inherit from common.mk. This currently excludes the extra ringtones
and built in themes.
Change-Id: I604ac29648a7311ba1dcc9a8005b1be1424ce596