Merge "vision: Add cyanogen_vision product." into froyo

This commit is contained in:
Steve Kondik 2010-09-30 13:48:58 +00:00 committed by Gerrit Code Review
commit 1a3d12ca69
3 changed files with 49 additions and 1 deletions

View File

@ -11,4 +11,5 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_supersonic.mk \
$(LOCAL_DIR)/cyanogen_liberty.mk \
$(LOCAL_DIR)/cyanogen_vibrant.mk \
$(LOCAL_DIR)/cyanogen_legend.mk
$(LOCAL_DIR)/cyanogen_legend.mk \
$(LOCAL_DIR)/cyanogen_vision.mk

View File

@ -0,0 +1,46 @@
# Inherit device configuration for vision.
$(call inherit-product, device/htc/vision/vision.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_vision
PRODUCT_BRAND := tmobile
PRODUCT_DEVICE := vision
PRODUCT_MODEL := T-Mobile G2
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_ID=FRF91 BUILD_DISPLAY_ID=FRG83 BUILD_FINGERPRINT=tmobile/htc_vision/vision/vision:2.2/FRF91/255798:user/release-keys PRIVATE_BUILD_DESC="1.19.531.1 CL255798 release-keys"
# Build kernel
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vision_defconfig
# Include the Torch app
PRODUCT_PACKAGES += Torch
# Extra Passion overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vision
#
# Set ro.modversion
#
ifdef CYANOGEN_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-vision
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-6.1.0-RC0-vision
endif
#
# Copy passion specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip

View File

@ -11,5 +11,6 @@ add_lunch_combo cyanogen_supersonic-eng
add_lunch_combo cyanogen_liberty-eng
add_lunch_combo cyanogen_vibrant-eng
add_lunch_combo cyanogen_legend-eng
add_lunch_combo cyanogen_vision-eng
PATH=$PATH:$PWD/vendor/cyanogen/tools ; export PATH