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-01-22 00:15:50 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_glacier BUILD_ID=FRG83 BUILD_DISPLAY_ID=GRH78C BUILD_FINGERPRINT=tmobile/htc_glacier/glacier/glacier:2.2.1/FRG83/277036:user/release-keys PRIVATE_BUILD_DESC="1.17.531.2 CL277036 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-02-16 02:08:33 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC1-glacier
|
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-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
|