cyanogen: Add smultron / Sony Ericsson Xperia Mini

Add support for the Xperia Mini.

Build product: cyanogen_smultron

Change-Id: I6813acb5dbb3f3dee9df6653a91b458554720020
This commit is contained in:
Diogo Ferreira 2011-09-06 15:45:47 +01:00
parent 71cc8ae648
commit d85d80bbb7
3 changed files with 57 additions and 0 deletions

View File

@ -44,6 +44,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_smb_a1004.mk \
$(LOCAL_DIR)/cyanogen_smb_a1011.mk \
$(LOCAL_DIR)/cyanogen_smb_b9701.mk \
$(LOCAL_DIR)/cyanogen_smultron.mk \
$(LOCAL_DIR)/cyanogen_speedy.mk \
$(LOCAL_DIR)/cyanogen_supersonic.mk \
$(LOCAL_DIR)/cyanogen_v9.mk \

View File

@ -0,0 +1,55 @@
# Inherit device configuration for smultron.
$(call inherit-product, device/semc/smultron/device_smultron.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_smultron
PRODUCT_BRAND := SEMC
PRODUCT_DEVICE := smultron
PRODUCT_MODEL := ST15i
PRODUCT_MANUFACTURER := Sony Ericsson
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=ST15i BUILD_ID=4.0.A.2.368 BUILD_DISPLAY_ID=4.0.A.2.368 BUILD_FINGERPRINT=SEMC/ST15i_1249-6227/ST15i:2.3.3/4.0.A.2.368/j_b_3w:user/release-keys PRIVATE_BUILD_DESC="ST15i-user 2.3.3 4.0.A.2.368 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_smultron_defconfig
# Extra smultron overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/smultron
# 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-XperiaMini-ST15i
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-XperiaMini-ST15i
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-XperiaMini-ST15i-KANG
endif
endif
#
# Copy passion specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip

View File

@ -43,6 +43,7 @@ add_lunch_combo cyanogen_smb_a1002-eng
add_lunch_combo cyanogen_smb_a1004-eng
add_lunch_combo cyanogen_smb_a1011-eng
add_lunch_combo cyanogen_smb_b9701-eng
add_lunch_combo cyanogen_smultron-eng
add_lunch_combo cyanogen_speedy-eng
add_lunch_combo cyanogen_supersonic-eng
add_lunch_combo cyanogen_u8220-eng