cyanogen: Add SEMC R800i (Xperia Play CDMA)
This is just a tweak to cyanogen_zeus.mk, the same device repo is used.
Change-Id: I0086f7374bff5acaa490cb67a5eb365f50efbfc6
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 92f9d48..a195c74 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -52,4 +52,5 @@
$(LOCAL_DIR)/cyanogen_z71.mk \
$(LOCAL_DIR)/cyanogen_zeppelin.mk \
$(LOCAL_DIR)/cyanogen_zero.mk \
- $(LOCAL_DIR)/cyanogen_zeus.mk
+ $(LOCAL_DIR)/cyanogen_zeus.mk \
+ $(LOCAL_DIR)/cyanogen_zeusc.mk
diff --git a/products/cyanogen_zeusc.mk b/products/cyanogen_zeusc.mk
new file mode 100644
index 0000000..76c89ce
--- /dev/null
+++ b/products/cyanogen_zeusc.mk
@@ -0,0 +1,53 @@
+# Inherit device configuration for zeus.
+$(call inherit-product, device/semc/zeus/device_zeus.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common_full.mk)
+
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_zeusc
+PRODUCT_BRAND := SEMC
+PRODUCT_DEVICE := zeus
+PRODUCT_MODEL := R800x
+PRODUCT_MANUFACTURER := Sony Ericsson
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=Play BUILD_ID=3.0.1.A.0.145 BUILD_DISPLAY_ID=3.0.1.A.0.145 BUILD_FINGERPRINT=SEMC/R800i_1247-6199/R800i:2.3.3/3.0.1.A.0.145/bn_p:user/release-keys PRIVATE_BUILD_DESC="LT15i-user 2.3.3 3.0.1.A.0.145 bn_P test-keys"
+
+# Build kernel
+#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
+#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
+#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_zeus_defconfig
+
+# Extra zeus overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/zeus
+
+# Add the Torch app
+#PRODUCT_PACKAGES += Torch
+
+
+# BCM FM radio
+#$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-XperiaPlay-R800x
+else
+ ifdef CYANOGEN_RELEASE
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-XperiaPlay-R800x
+ else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-XperiaPlay-R800x-KANG
+ endif
+endif
+
+#
+# Copy passion specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index 7dc8982..0bbc629 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -52,4 +52,5 @@
add_lunch_combo cyanogen_zeppelin-eng
add_lunch_combo cyanogen_zero-eng
add_lunch_combo cyanogen_zeus-eng
+add_lunch_combo cyanogen_zeusc-eng