replicant-vendor_replicant/products/cyanogen_click.mk

51 lines
1.5 KiB
Makefile
Raw Normal View History

# Inherit AOSP device configuration for click.
$(call inherit-product, device/htc/click/click.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)
# Broadcom FM radio
$(call inherit-product, vendor/cyanogen/products/ti_fm_radio.mk)
# Build kernel
PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=device/htc/click/kernel
#
# Setup device specific product configuration.
#
PRODUCT_NAME := cyanogen_click
PRODUCT_BRAND := htc_wwe
PRODUCT_DEVICE := click
PRODUCT_MODEL := HTC Tattoo
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_click BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRJ90 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"
# Add LDPI assets, in addition to MDPI
PRODUCT_LOCALES += ldpi mdpi
# Extra Passion overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/ldpi
# Boot animation
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-click
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-click
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-click-KANG
endif
endif