summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Burns <burnsra@gmail.com>2012-01-04 20:14:36 -0500
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:11:52 -0700
commit299af8aa9d11f8a3d9b294ddc7f182c4bf2cd7d2 (patch)
tree168232f25a055889c81d1ddd588f21f876334960
parent94c346a75214129ba3ac32ebe238b2956c5988d5 (diff)
downloadbuild-299af8aa9d11f8a3d9b294ddc7f182c4bf2cd7d2.zip
build-299af8aa9d11f8a3d9b294ddc7f182c4bf2cd7d2.tar.gz
build-299af8aa9d11f8a3d9b294ddc7f182c4bf2cd7d2.tar.bz2
Add ro.cm.device to build.prop
As requested by Ricardo Cerqueira: http://r.cyanogenmod.com/#change,11423,patchset=1 Change-Id: If08cc13c0f0e92e0dd262a2f71610070a54aaead
-rw-r--r--core/Makefile1
-rwxr-xr-xtools/buildinfo.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index ac3e5f9..998cd08 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -193,6 +193,7 @@ endif
$(hide) TARGET_BUILD_TYPE="$(TARGET_BUILD_VARIANT)" \
TARGET_BUILD_FLAVOR="$(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT)" \
TARGET_DEVICE="$(TARGET_DEVICE)" \
+ CM_DEVICE="$(TARGET_DEVICE)" \
PRODUCT_NAME="$(TARGET_PRODUCT)" \
PRODUCT_BRAND="$(PRODUCT_BRAND)" \
PRODUCT_DEFAULT_LOCALE="$(call get-default-product-locale,$(PRODUCT_LOCALES))" \
diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh
index 5c199b8..310d478 100755
--- a/tools/buildinfo.sh
+++ b/tools/buildinfo.sh
@@ -56,4 +56,6 @@ if [ -n "$BUILD_THUMBPRINT" ] ; then
fi
echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
+echo "ro.cm.device=$CM_DEVICE"
+
echo "# end build properties"