replicant-vendor_replicant/products/cyanogen_liberty.mk

57 lines
1.6 KiB
Makefile

# Inherit AOSP device configuration for liberty.
$(call inherit-product, device/htc/liberty/liberty.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
#
# Setup device specific product configuration.
#
PRODUCT_NAME := cyanogen_liberty
PRODUCT_BRAND := htc
PRODUCT_DEVICE := liberty
PRODUCT_MODEL := Liberty
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF91 BUILD_DISPLAY_ID=FRF91 PRODUCT_NAME=htc_liberty BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys BUILD_VERSION_TAGS=release-keys
PRIVATE_BUILD_DESC="liberty-user 2.2 FRF91 43546 release-keys"
PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/cyanogen/prelink-linux-arm-liberty.map
# Build kernel
PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=device/htc/liberty/kernel
# Extra Passion overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/passion
# Extra RIL settings
PRODUCT_PROPERTY_OVERRIDES += \
ro.ril.enable.managed.roaming=1 \
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995 \
ro.ril.emc.mode=2
# 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-liberty
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-6.0.0-liberty-RC0
endif
#
# Copy liberty specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip