e4a7905fc3
Change-Id: I1e490296879e1b777917cf86ecc0b7cfcd84b96b
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# 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
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=passion BUILD_ID=GRI40 BUILD_DISPLAY_ID=GWK74 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"
|
|
|
|
# Extra leo overlay
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/leo
|
|
|
|
# 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
|
|
|
|
# Add the Torch app
|
|
PRODUCT_PACKAGES += Torch
|
|
|
|
# Broadcom FM radio
|
|
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
|
|
|
|
|
|
#
|
|
# 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 += \
|
|
ro.modversion=CyanogenMod-7.1.0-LEO
|
|
else
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.modversion=CyanogenMod-7.1.0-LEO-KANG
|
|
endif
|
|
endif
|
|
|
|
|
|
#
|
|
# Copy leo specific prebuilt files
|
|
#
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|