cyanogen: Add SEMC MT15i (Xperia Neo)
This commit adds support for Sony Ericsson Xperia Neo (MT15i)
Product name: hallon
Change-Id: I4e640765f67a50136e15d7746fb22d802eebbacc
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 25ca4bd..cd3d55b 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -15,6 +15,7 @@
$(LOCAL_DIR)/cyanogen_encore.mk \
$(LOCAL_DIR)/cyanogen_espresso.mk \
$(LOCAL_DIR)/cyanogen_fascinatemtd.mk \
+ $(LOCAL_DIR)/cyanogen_hallon.mk \
$(LOCAL_DIR)/cyanogen_hero.mk \
$(LOCAL_DIR)/cyanogen_heroc.mk \
$(LOCAL_DIR)/cyanogen_inc.mk \
diff --git a/products/cyanogen_hallon.mk b/products/cyanogen_hallon.mk
new file mode 100644
index 0000000..5fa98ad
--- /dev/null
+++ b/products/cyanogen_hallon.mk
@@ -0,0 +1,55 @@
+# Inherit device configuration for hallon.
+$(call inherit-product, device/semc/hallon/device_hallon.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common_full.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/cyanogen/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_hallon
+PRODUCT_BRAND := SEMC
+PRODUCT_DEVICE := hallon
+PRODUCT_MODEL := MT15i
+PRODUCT_MANUFACTURER := Sony Ericsson
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=MT15i BUILD_ID=3.0.1.A.0.145 BUILD_DISPLAY_ID=3.0.1.A.0.145 BUILD_FINGERPRINT=SEMC/MT15i_1247-0875/MT15i:2.3.3/3.0.1.A.0.145/bn_P:user/release-keys PRIVATE_BUILD_DESC="MT15i-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_hallon_defconfig
+
+# Extra hallon overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/hallon
+
+# 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-XperiaNeo
+else
+ ifdef CYANOGEN_RELEASE
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-MT15i
+ else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-MT15i-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 798f7f2..ceec54f 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -18,6 +18,7 @@
add_lunch_combo cyanogen_galaxysmtd-eng
add_lunch_combo cyanogen_generic-eng
add_lunch_combo cyanogen_glacier-eng
+add_lunch_combo cyanogen_hallon-eng
add_lunch_combo cyanogen_hero-eng
add_lunch_combo cyanogen_heroc-eng
add_lunch_combo cyanogen_inc-eng