From 5eba4cdf2911508cda7d3fd32db6323203d520be Mon Sep 17 00:00:00 2001 From: Diogo Ferreira Date: Sat, 1 Oct 2011 17:28:32 +0100 Subject: [PATCH] vendor: Add Sony Ericsson Xperia Live with Walkman (coconut/WT19i) This patch adds support for the Sony Ericsson Xperia Live. Build target: cyanogen_coconut-eng Change-Id: I8a3cde48ad2d66937a0e68dfdbf91fa25de3a379 --- products/AndroidProducts.mk | 1 + products/cyanogen_coconut.mk | 43 ++++++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 45 insertions(+) create mode 100644 products/cyanogen_coconut.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 15a5263f..5a009189 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -7,6 +7,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_buzz.mk \ $(LOCAL_DIR)/cyanogen_captivatemtd.mk \ $(LOCAL_DIR)/cyanogen_click.mk \ + $(LOCAL_DIR)/cyanogen_coconut.mk \ $(LOCAL_DIR)/cyanogen_crespo.mk \ $(LOCAL_DIR)/cyanogen_crespo4g.mk \ $(LOCAL_DIR)/cyanogen_desirec.mk \ diff --git a/products/cyanogen_coconut.mk b/products/cyanogen_coconut.mk new file mode 100644 index 00000000..4a66ae47 --- /dev/null +++ b/products/cyanogen_coconut.mk @@ -0,0 +1,43 @@ +# Inherit device configuration for coconut. +$(call inherit-product, device/semc/coconut/device_coconut.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_coconut +PRODUCT_BRAND := SEMC +PRODUCT_DEVICE := coconut +PRODUCT_MODEL := WT19i +PRODUCT_MANUFACTURER := Sony Ericsson +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=WT19i BUILD_ID=4.0.2.A.0.42 BUILD_FINGERPRINT=SEMC/WT19i_1249-6227/WT19i:2.3.4/4.0.2.A.0.42/j_b_3w:user/release-keys PRIVATE_BUILD_DESC="WT19i-user 2.3.4 4.0.2.A.0.42 j_b_3w 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_coconut_defconfig + +# Extra coconut overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/coconut + +# 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 := LiveWithWalkman-WT19i +PRODUCT_VERSION_DEVICE_SPECIFIC := +-include vendor/cyanogen/products/common_versions.mk + +# +# Copy passion specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip diff --git a/vendorsetup.sh b/vendorsetup.sh index 37586d67..0ce1cdad 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -6,6 +6,7 @@ add_lunch_combo cyanogen_bravoc-eng add_lunch_combo cyanogen_buzz-eng add_lunch_combo cyanogen_click-eng add_lunch_combo cyanogen_captivatemtd-eng +add_lunch_combo cyanogen_coconut-eng add_lunch_combo cyanogen_crespo-eng add_lunch_combo cyanogen_crespo4g-eng add_lunch_combo cyanogen_desirec-eng