From 1585994c9df0a58834fec57f5728c1d2e7c9844e Mon Sep 17 00:00:00 2001 From: Lox Date: Sat, 3 Jul 2010 00:41:53 +1100 Subject: [PATCH 1/2] Hero support --- products/AndroidProducts.mk | 1 + vendorsetup.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index a4949ca9..8ec1a2d0 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -1,6 +1,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_passion.mk \ $(LOCAL_DIR)/cyanogen_inc.mk \ + $(LOCAL_DIR)/cyanogen_hero.mk \ $(LOCAL_DIR)/cyanogen_heroc.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_dream_sapphire.mk \ diff --git a/vendorsetup.sh b/vendorsetup.sh index 01edb35f..d7406552 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,5 +1,6 @@ add_lunch_combo cyanogen_passion-eng add_lunch_combo cyanogen_inc-eng +add_lunch_combo cyanogen_hero-eng add_lunch_combo cyanogen_heroc-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_dream_sapphire-eng From 8e6e03a47401e138e40028bb311d87618e34654f Mon Sep 17 00:00:00 2001 From: Lox Date: Sat, 3 Jul 2010 02:28:31 +1100 Subject: [PATCH 2/2] 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 +