1cd279b781
Change-Id: I3014fa9886183e01a338a8934d9b0f8bc360ea85
63 lines
1.9 KiB
Makefile
63 lines
1.9 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=GRJ90 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-RC1-LEO
|
|
else
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.modversion=CyanogenMod-7.1.0-RC1-LEO-KANG
|
|
endif
|
|
endif
|
|
|
|
|
|
#
|
|
# Copy leo specific prebuilt files
|
|
#
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|