2010-07-06 15:42:16 +00:00
|
|
|
# Inherit AOSP device configuration for bravo.
|
2010-07-12 16:03:57 +00:00
|
|
|
$(call inherit-product, device/htc/bravo/full_bravo.mk)
|
2010-07-06 15:31:09 +00:00
|
|
|
|
2010-07-01 01:16:20 +00:00
|
|
|
# Inherit some common cyanogenmod stuff.
|
2011-01-22 07:53:32 +00:00
|
|
|
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
|
2010-07-01 01:16:20 +00:00
|
|
|
|
2010-07-02 22:17:50 +00:00
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
2010-07-01 01:16:20 +00:00
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
PRODUCT_NAME := cyanogen_bravo
|
|
|
|
PRODUCT_BRAND := htc_wwe
|
|
|
|
PRODUCT_DEVICE := bravo
|
2010-08-04 20:01:21 +00:00
|
|
|
PRODUCT_MODEL := HTC Desire
|
2010-07-01 01:16:20 +00:00
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-01-22 00:15:50 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF91 BUILD_DISPLAY_ID=GRH78C PRODUCT_NAME=htc_bravo BUILD_FINGERPRINT=htc_wwe/htc_bravo/bravo/bravo:2.2/FRF91/226611:user/release-keys TARGET_BUILD_TYPE=userdebug BUILD_VERSION_TAGS=release-keys PRIVATE_BUILD_DESC="2.10.405.2 CL226611 release-keys"
|
2010-07-07 08:06:53 +00:00
|
|
|
|
2010-10-29 09:58:10 +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_bravo_defconfig
|
|
|
|
|
2010-10-21 09:10:59 +00:00
|
|
|
# Extra Bravo (CDMA/GSM) overlay
|
2010-07-16 23:44:11 +00:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/bravo
|
2010-07-01 01:16:20 +00:00
|
|
|
|
2010-12-22 00:57:18 +00:00
|
|
|
# Add the Torch app
|
|
|
|
PRODUCT_PACKAGES += Torch
|
|
|
|
|
2011-01-07 23:06:38 +00:00
|
|
|
# Broadcom FM radio
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
|
|
|
|
|
2010-07-10 20:24:17 +00:00
|
|
|
# Extra RIL settings
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.ril.enable.managed.roaming=1 \
|
2010-07-16 23:45:00 +00:00
|
|
|
ro.ril.oem.nosim.ecclist=911,112,113,115,117,999,000,08,118,120,122,110,119,995 \
|
2010-07-10 20:24:17 +00:00
|
|
|
ro.ril.emc.mode=2
|
|
|
|
|
2010-07-01 01:16:20 +00:00
|
|
|
#
|
|
|
|
# Set ro.modversion
|
|
|
|
#
|
|
|
|
ifdef CYANOGEN_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2010-12-21 05:11:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Desire
|
2010-07-01 01:16:20 +00:00
|
|
|
else
|
2010-12-30 16:13:17 +00:00
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-02-16 02:08:33 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC1-Desire
|
2010-12-30 16:13:17 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-02-16 02:08:33 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC1-Desire-KANG
|
2010-12-30 16:13:17 +00:00
|
|
|
endif
|
2010-07-01 01:16:20 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy passion specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
2010-08-09 21:29:24 +00:00
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|