replicant-vendor_replicant/products/cyanogen_buzz.mk
hcdrjacob 36c2b7aeea Buzz: Enable FM Radio
Change-Id: I1757dd7e7b89c3ec6ad9c80ca37944e402afbf9e
2011-03-06 16:05:44 -05:00

59 lines
1.7 KiB
Makefile

# Inherit AOSP device configuration for buzz.
$(call inherit-product, device/htc/buzz/full_buzz.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)
# Build kernel
PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=device/htc/buzz/prebuilt/kernel
#
# Setup device specific product configuration.
#
PRODUCT_NAME := cyanogen_buzz
PRODUCT_BRAND := htc_wwe
PRODUCT_DEVICE := buzz
PRODUCT_MODEL := HTC Wildfire
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=google/passion/passion:2.3.3/GRI40/102588:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.3 GRI40 102588 release-keys"
# Extra Passion overlay
PRODUCT_PACKAGE_OVERLAYS += device/htc/buzz/overlay
# Extra RIL settings
PRODUCT_PROPERTY_OVERRIDES += \
ro.ril.enable.managed.roaming=1 \
ro.ril.oem.nosim.ecclist=911,112,113,115,117,999,000,08,118,120,122,110,119,995 \
ro.ril.emc.mode=2
# Add the Torch app
PRODUCT_PACKAGES += Torch
# Broadcom FM radio
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
# Enable Windows Media
WITH_WINDOWS_MEDIA := true
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/ldpi/media/bootanimation.zip:system/media/bootanimation.zip
#
# Set ro.modversion
#
ifdef CYANOGEN_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-buzz
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.0.0-RC1-buzz
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.0.0-RC1-buzz-KANG
endif
endif