2010-11-19 08:07:41 +00:00
|
|
|
# Inherit device configuration for glacier.
|
2010-12-05 21:04:07 +00:00
|
|
|
$(call inherit-product, device/htc/glacier/glacier.mk)
|
2010-11-19 08:07:41 +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-11-19 08:07:41 +00:00
|
|
|
|
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
PRODUCT_NAME := cyanogen_glacier
|
|
|
|
PRODUCT_BRAND := tmobile
|
|
|
|
PRODUCT_DEVICE := glacier
|
|
|
|
PRODUCT_MODEL := HTC Glacier
|
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-09-30 09:02:38 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_glacier BUILD_ID=GRJ22 BUILD_DISPLAY_ID=GWK74 BUILD_FINGERPRINT=tmobile/htc_glacier/glacier:2.3.4/GRJ22/95282:user/release-keys PRIVATE_BUILD_DESC="2.19.531.1 CL95282 release-keys"
|
2010-11-19 08:07:41 +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_glacier_defconfig
|
|
|
|
|
|
|
|
# Extra glacier overlay
|
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/glacier
|
|
|
|
|
2011-01-02 09:03:56 +00:00
|
|
|
#Include Torch
|
|
|
|
PRODUCT_PACKAGES += Torch
|
2011-01-11 02:50:26 +00:00
|
|
|
|
2011-01-15 23:07:33 +00:00
|
|
|
# Build GanOptimizer
|
|
|
|
PRODUCT_PACKAGES += GanOptimizer
|
|
|
|
|
2011-01-11 02:50:26 +00:00
|
|
|
# Broadcom FM radio
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
|
|
|
|
|
2010-11-19 08:07:41 +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-glacier
|
2010-11-19 08:07:41 +00:00
|
|
|
else
|
2010-12-30 16:13:17 +00:00
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-09-29 04:25:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-glacier
|
2010-12-30 16:13:17 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-09-29 04:25:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-glacier-KANG
|
2010-12-30 16:13:17 +00:00
|
|
|
endif
|
2010-11-19 08:07:41 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy passion specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|