add droid2we (droid2 global) support (1/2)

this is dependant on forking the device tree found here:
https://github.com/RevNumbers/android_device_motorola_droid2we

Change-Id: Id1e71eef51f310c7bee3320af7d6095a7b3dd09b
This commit is contained in:
Justin E. Goodell 2011-08-02 14:48:33 -04:00
parent 9e9bba0584
commit 295376ebe3
4 changed files with 60 additions and 0 deletions

View File

@ -50,6 +50,7 @@ Maintainers:
* Xperia Arc (LT15i): Bin4ry,defer,jerpelea (FreeXperia team)
* Xperia Neo (MT15i): Bin4ry,defer,jerpelea (FreeXperia team)
* Xperia Play (R800i): Bin4ry,defer,jerpelea (FreeXperia team)
* Droid2we (Droid2 Global): RevNumbers, x13thangelx
Translators:
------------

View File

@ -12,6 +12,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_desirec.mk \
$(LOCAL_DIR)/cyanogen_dream_sapphire.mk \
$(LOCAL_DIR)/cyanogen_droid2.mk \
$(LOCAL_DIR)/cyanogen_droid2we.mk \
$(LOCAL_DIR)/cyanogen_encore.mk \
$(LOCAL_DIR)/cyanogen_espresso.mk \
$(LOCAL_DIR)/cyanogen_fascinatemtd.mk \

View File

@ -0,0 +1,57 @@
# Inherit device configuration for Droid2WE.
$(call inherit-product, device/motorola/droid2we/droid2we.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_droid2we
PRODUCT_BRAND := motorola
PRODUCT_DEVICE := droid2we
PRODUCT_MODEL := DROID2 GLOBAL
PRODUCT_MANUFACTURER := Motorola
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=droid2we_vzw BUILD_ID=S273 BUILD_DISPLAY_ID=VZW BUILD_FINGERPRINT=verizon/droid2we_vzw/cdma_droid2we/droid2we:2.2/S273/2.4.330:user/ota-rel-keys,release-keys PRIVATE_BUILD_DESC="cdma_droid2we-user 2.2 S273 2.4.330 ota-rel-keys,release-keys" TARGET_DEVICE=cdma_droid2we PRODUCT_BRAND=verizon BUILD_NUMBER=2.4.330 BUILD_UTC_DATE=1287722464 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=xrpk47
# Build kernel
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_droid2we_defconfig
# Extra Droid2WE overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/droid2we
# Add the Torch app
PRODUCT_PACKAGES += Torch
# Build GanOptimizer
#PRODUCT_PACKAGES += GanOptimizer
# 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-DROID2WE-KANG
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-DROID2WE
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC1-DROID2WE-KANG
endif
endif
#
# Copy Droid2WE specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip

View File

@ -11,6 +11,7 @@ add_lunch_combo cyanogen_crespo4g-eng
add_lunch_combo cyanogen_desirec-eng
add_lunch_combo cyanogen_dream_sapphire-eng
add_lunch_combo cyanogen_droid2-eng
add_lunch_combo cyanogen_droid2we-eng
add_lunch_combo cyanogen_encore-eng
add_lunch_combo cyanogen_espresso-eng
add_lunch_combo cyanogen_fascinatemtd-eng