2011-02-01 20:05:29 +00:00
|
|
|
# Inherit AOSP device configuration for leo.
|
|
|
|
$(call inherit-product, device/htc/leo/full_leo.mk)
|
|
|
|
|
|
|
|
# Inherit some common cyanogenmod stuff.
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
|
|
|
|
|
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
|
|
|
|
PRODUCT_NAME := cyanogen_leo
|
|
|
|
PRODUCT_BRAND := htc_wwe
|
|
|
|
PRODUCT_DEVICE := leo
|
|
|
|
PRODUCT_MODEL := HTC HD2
|
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-03-01 01:51:03 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=passion BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=google/passion/passion:2.3.3/GRI40/102588:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.3 GRI40 102588 release-keys"
|
2011-02-01 20:05:29 +00:00
|
|
|
|
|
|
|
# Extra leo overlay
|
2011-02-19 15:09:05 +00:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/leo
|
2011-02-01 20:05:29 +00:00
|
|
|
|
|
|
|
# This file is used to install the enable RMNET and corresponding modules which dont get activated by normal module script
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/leo/etc/init.d/01modules:system/etc/init.d/01modules
|
|
|
|
|
|
|
|
# Extra RIL settings
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.ril.enable.managed.roaming=1 \
|
|
|
|
ro.ril.oem.nosim.ecclist=911,112,113,115,117,999,000,08,118,120,122,110,119,995 \
|
|
|
|
ro.ril.emc.mode=2
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Set ro.modversion
|
|
|
|
#
|
|
|
|
ifdef CYANOGEN_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-LEO
|
|
|
|
else
|
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-03-06 22:54:58 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC2-LEO
|
2011-02-01 20:05:29 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-03-06 22:54:58 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC2-LEO-KANG
|
2011-02-01 20:05:29 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy leo specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|