2011-06-21 20:45:12 +00:00
|
|
|
# Inherit device configuration for vivo.
|
|
|
|
$(call inherit-product, device/htc/vivo/vivo.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_vivo
|
|
|
|
PRODUCT_BRAND := htc_wwe
|
|
|
|
PRODUCT_DEVICE := vivo
|
|
|
|
PRODUCT_MODEL := Incredible S
|
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-07-26 17:36:54 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vivo BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRJ90 BUILD_FINGERPRINT=htc_wwe/htc_vivo/vivo:2.3.3/GRI40/88716:user/release-keys PRIVATE_BUILD_DESC="2.30.405.1 CL88716 release-keys"
|
2011-06-21 20:45:12 +00:00
|
|
|
|
|
|
|
# Build kernel
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vivo_defconfig
|
|
|
|
|
|
|
|
# Extra vivo overlay
|
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vivo
|
|
|
|
|
|
|
|
# Add the Torch app
|
|
|
|
PRODUCT_PACKAGES += Torch
|
|
|
|
|
|
|
|
# Add AicBootFix for vivo battery fix
|
|
|
|
PRODUCT_PACKAGES += AicBootFix
|
|
|
|
|
|
|
|
# Broadcom 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-IncS
|
|
|
|
else
|
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-06-14 06:32:01 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-RC1-IncS
|
2011-06-21 20:45:12 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-06-14 06:32:01 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-RC1-IncS-KANG
|
2011-06-21 20:45:12 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy passion specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|