From 47455b158963722669b07e3bb2365d0da9f984c7 Mon Sep 17 00:00:00 2001 From: Diogo Ferreira Date: Wed, 3 Aug 2011 19:17:54 +0100 Subject: [PATCH] cyanogen: Add SEMC LT15i (Xperia Arc) This commit adds support for Sony Ericsson Xperia Arc (LT15i) Product name: anzu Change-Id: I8a9752a153ef31e18c58e50c9109c7e18ead8b41 --- products/AndroidProducts.mk | 1 + products/cyanogen_anzu.mk | 55 +++++++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 57 insertions(+) create mode 100644 products/cyanogen_anzu.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index f62485ad..25ca4bd3 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -1,5 +1,6 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_ace.mk \ + $(LOCAL_DIR)/cyanogen_anzu.mk \ $(LOCAL_DIR)/cyanogen_blade.mk \ $(LOCAL_DIR)/cyanogen_bravo.mk \ $(LOCAL_DIR)/cyanogen_bravoc.mk \ diff --git a/products/cyanogen_anzu.mk b/products/cyanogen_anzu.mk new file mode 100644 index 00000000..c94a4aed --- /dev/null +++ b/products/cyanogen_anzu.mk @@ -0,0 +1,55 @@ +# Inherit device configuration for anzu. +$(call inherit-product, device/semc/anzu/device_anzu.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_anzu +PRODUCT_BRAND := SEMC +PRODUCT_DEVICE := anzu +PRODUCT_MODEL := LT15i +PRODUCT_MANUFACTURER := Sony Ericsson +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=LT15i BUILD_ID=3.0.1.A.0.145 BUILD_DISPLAY_ID=3.0.1.A.0.145 BUILD_FINGERPRINT=SEMC/LT15i_1247-1061/LT15i: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_anzu_defconfig + +# Extra anzu overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/anzu + +# 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-XperiaArc +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC1-LT15i + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC1-LT15i-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 6be836db..798f7f20 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,4 +1,5 @@ add_lunch_combo cyanogen_ace-eng +add_lunch_combo cyanogen_anzu-eng add_lunch_combo cyanogen_blade-eng add_lunch_combo cyanogen_bravo-eng add_lunch_combo cyanogen_bravoc-eng