2011-03-23 16:37:46 +00:00
|
|
|
# Inherit AOSP device configuration for hero.
|
|
|
|
ifdef CYANOGEN_SMALL
|
|
|
|
$(call inherit-product, device/htc/hero/small_hero.mk)
|
|
|
|
else
|
2010-07-02 15:28:31 +00:00
|
|
|
$(call inherit-product, device/htc/hero/full_hero.mk)
|
2011-03-23 16:37:46 +00:00
|
|
|
endif
|
2010-07-02 15:28:31 +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-02 15:28:31 +00:00
|
|
|
|
2010-07-02 22:17:50 +00:00
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
2010-07-02 15:28:31 +00:00
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
PRODUCT_NAME := cyanogen_hero
|
|
|
|
PRODUCT_BRAND := htc
|
|
|
|
PRODUCT_DEVICE := hero
|
2010-07-02 17:37:19 +00:00
|
|
|
PRODUCT_MODEL := Hero
|
2010-07-02 15:28:31 +00:00
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-02-03 18:16:47 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=GRH78 BUILD_DISPLAY_ID=GRH78C BUILD_FINGERPRINT=google/soju/crespo:2.3.1/GRH78/85442:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.1 GRH78 85442 release-keys"
|
2010-09-03 04:43:12 +00:00
|
|
|
|
|
|
|
PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/cyanogen/prelink-linux-arm-hero.map
|
2010-07-10 08:10:28 +00:00
|
|
|
|
2010-07-02 15:28:31 +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-Hero
|
2010-07-02 15:28:31 +00:00
|
|
|
else
|
2010-12-30 16:13:17 +00:00
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-04-25 05:07:09 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.2-Hero
|
2010-12-30 16:13:17 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-04-25 05:07:09 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.2-Hero-KANG
|
2010-12-30 16:13:17 +00:00
|
|
|
endif
|
2010-07-02 15:28:31 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy passion specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
2010-08-09 21:29:24 +00:00
|
|
|
vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip
|