From 8e6e03a47401e138e40028bb311d87618e34654f Mon Sep 17 00:00:00 2001 From: Lox Date: Sat, 3 Jul 2010 02:28:31 +1100 Subject: [PATCH] Hero Support second commit --- products/cyanogen_hero.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 products/cyanogen_hero.mk diff --git a/products/cyanogen_hero.mk b/products/cyanogen_hero.mk new file mode 100644 index 00000000..4e3df81d --- /dev/null +++ b/products/cyanogen_hero.mk @@ -0,0 +1,34 @@ +# Inherit AOSP device configuration for passion. +$(call inherit-product, device/htc/hero/full_hero.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_hero +PRODUCT_BRAND := htc +PRODUCT_DEVICE := hero +PRODUCT_MODEL := Hero CDMA +PRODUCT_MANUFACTURER := HTC +PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF83 BUILD_DISPLAY_ID=FRF83 PRODUCT_NAME=passion BUILD_FINGERPRINT=/passion/passion/mahimahi:2.2/FRF83/42295:user/release-keys +PRIVATE_BUILD_DESC="hero-user 2.2 FRF83 42295 release-keys" + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-HERO +else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6.0.0-Hero-test0 +endif + +# +# Copy passion specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/dream_sapphire/media/bootanimation.zip:system/media/bootanimation.zip +