Merge "vendor: Add iyokan (Sony Ericsson Xperia Pro MK16i / MK16a)" into gingerbread
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 3337654..6caf3d4 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -22,6 +22,7 @@
$(LOCAL_DIR)/cyanogen_hero.mk \
$(LOCAL_DIR)/cyanogen_heroc.mk \
$(LOCAL_DIR)/cyanogen_inc.mk \
+ $(LOCAL_DIR)/cyanogen_iyokan.mk \
$(LOCAL_DIR)/cyanogen_jordan.mk \
$(LOCAL_DIR)/cyanogen_galaxys2.mk \
$(LOCAL_DIR)/cyanogen_galaxys2att.mk \
diff --git a/products/cyanogen_iyokan.mk b/products/cyanogen_iyokan.mk
new file mode 100644
index 0000000..85d1f26
--- /dev/null
+++ b/products/cyanogen_iyokan.mk
@@ -0,0 +1,44 @@
+# Inherit device configuration for iyokan.
+$(call inherit-product, device/semc/iyokan/device_iyokan.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_iyokan
+PRODUCT_BRAND := SEMC
+PRODUCT_DEVICE := iyokan
+PRODUCT_MODEL := MK16i
+PRODUCT_MANUFACTURER := Sony Ericsson
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=MK16i BUILD_ID=4.0.1.A.0.283 BUILD_FINGERPRINT=SEMC/MK16i_1247-1061/MK16i:2.3.4/4.0.1.A.0.283/bn_P:user/release-keys PRIVATE_BUILD_DESC="MK16i-user 2.3.4 4.0.1.A.0.283 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_iyokan_defconfig
+
+# Extra iyokan overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/iyokan
+
+# Add the Torch app
+PRODUCT_PACKAGES += Torch
+
+
+# BCM FM radio
+#$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
+
+# Release name and versioning
+PRODUCT_RELEASE_NAME := XperiaPro-MK16i
+PRODUCT_VERSION_DEVICE_SPECIFIC :=
+-include vendor/cyanogen/products/common_versions.mk
+
+#
+# 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 6e933ae..6a304fa 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -26,6 +26,7 @@
add_lunch_combo cyanogen_hero-eng
add_lunch_combo cyanogen_heroc-eng
add_lunch_combo cyanogen_inc-eng
+add_lunch_combo cyanogen_iyokan-eng
add_lunch_combo cyanogen_jordan-eng
add_lunch_combo cyanogen_legend-eng
add_lunch_combo cyanogen_leo-eng