From 97f8923790a74bb30110e78d58439fffd0ae4075 Mon Sep 17 00:00:00 2001 From: Kali- Date: Sun, 26 Sep 2010 23:23:41 +0200 Subject: [PATCH] Desire CDMA support --- products/AndroidProducts.mk | 1 + products/cyanogen_bravoc.mk | 41 +++++++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 43 insertions(+) create mode 100644 products/cyanogen_bravoc.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 92085b10..8147489b 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -6,6 +6,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_dream_sapphire.mk \ $(LOCAL_DIR)/cyanogen_bravo.mk \ + $(LOCAL_DIR)/cyanogen_bravoc.mk \ $(LOCAL_DIR)/cyanogen_espresso.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \ $(LOCAL_DIR)/cyanogen_liberty.mk \ diff --git a/products/cyanogen_bravoc.mk b/products/cyanogen_bravoc.mk new file mode 100644 index 00000000..d50c5fa4 --- /dev/null +++ b/products/cyanogen_bravoc.mk @@ -0,0 +1,41 @@ +# Inherit AOSP device configuration for bravoc. +$(call inherit-product, device/htc/bravo/full_bravoc.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_bravoc +PRODUCT_BRAND := us_cellular_wwe +PRODUCT_DEVICE := bravoc +PRODUCT_MODEL := HTC Desire CDMA +PRODUCT_MANUFACTURER := HTC +PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF91 BUILD_DISPLAY_ID=FRF91 PRODUCT_NAME=htc_bravo BUILD_FINGERPRINT=htc_wwe/htc_bravo/bravo/bravo:2.2/FRF91/226611:user/release-keys TARGET_BUILD_TYPE=userdebug BUILD_VERSION_TAGS=release-keys PRIVATE_BUILD_DESC="2.10.405.2 CL226611 release-keys" + +# Include the Torch app +PRODUCT_PACKAGES += Torch + +# Extra Passion overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/bravo + +# Enable Windows Media +WITH_WINDOWS_MEDIA := true + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-DesireC +else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6.1.0-RC0-DesireC +endif + +# +# Copy passion specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip diff --git a/vendorsetup.sh b/vendorsetup.sh index 13ad5b6c..3c20ca35 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -5,6 +5,7 @@ add_lunch_combo cyanogen_heroc-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_dream_sapphire-eng add_lunch_combo cyanogen_bravo-eng +add_lunch_combo cyanogen_bravoc-eng add_lunch_combo cyanogen_espresso-eng add_lunch_combo cyanogen_supersonic-eng add_lunch_combo cyanogen_liberty-eng