From 86e6856685f616a92ac80c8c8c2f97f889d80b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Tue, 5 Apr 2011 03:35:57 +0000 Subject: [PATCH] Add zeppelin files Change-Id: Id59c0a7a6d0784e6caf0b81fff160fc7f9eec6e2 --- .../apps/CMParts/res/values/config.xml | 8 ++++ products/AndroidProducts.mk | 1 + products/cyanogen_zeppelin.mk | 45 +++++++++++++++++++ vendorsetup.sh | 1 + 4 files changed, 55 insertions(+) create mode 100644 overlay/zeppelin/packages/apps/CMParts/res/values/config.xml create mode 100644 products/cyanogen_zeppelin.mk diff --git a/overlay/zeppelin/packages/apps/CMParts/res/values/config.xml b/overlay/zeppelin/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 00000000..913a3dbe --- /dev/null +++ b/overlay/zeppelin/packages/apps/CMParts/res/values/config.xml @@ -0,0 +1,8 @@ + + + + false + true + false + true + diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 2705c909..152e78f8 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -27,4 +27,5 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_vega.mk \ $(LOCAL_DIR)/cyanogen_vision.mk \ $(LOCAL_DIR)/cyanogen_z71.mk \ + $(LOCAL_DIR)/cyanogen_zeppelin.mk \ $(LOCAL_DIR)/cyanogen_zero.mk diff --git a/products/cyanogen_zeppelin.mk b/products/cyanogen_zeppelin.mk new file mode 100644 index 00000000..1ec40afc --- /dev/null +++ b/products/cyanogen_zeppelin.mk @@ -0,0 +1,45 @@ +# Inherit AOSP device configuration for zeppelin. +$(call inherit-product, device/motorola/zeppelin/zeppelin.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +$(call inherit-product vendor/cyanogen/products/bcm_fm_radio.mk) + +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_zeppelin +PRODUCT_BRAND := motorola +PRODUCT_DEVICE := zeppelin +PRODUCT_MODEL := CLIQ XT +PRODUCT_MANUFACTURER := Motorola + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-CLIQXT +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC0-CLIQXT + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC0-CLIQXT-KANG + endif +endif + +#PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=FRG83D BUILD_DISPLAY_ID=GRH78 PRODUCT_NAME=zeppelin TARGET_DEVICE=zeppelin BUILD_FINGERPRINT=MOTO/zeppelin_tmo_us/zepp/zepp:2.1-update1/ERD79/2.1.54:user/ota-rel-keys,release-keys PRODUCT_BRAND=tmobile PRIVATE_BUILD_DESC="zeppelin-user 2.1-update1 ERD79 2.1.54 ota-rel-keys,release-keys" BUILD_NUMBER=75603 BUILD_UTC_DATE=1289367602 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=android-build +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=zeppelin TARGET_DEVICE=zeppelin BUILD_ID=GRH78 BUILD_DISPLAY_ID=GRH78C BUILD_FINGERPRINT=google/soju/crespo:2.3.1/GRH78/85442:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.1 GRH78 85442 release-keys" + +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip + +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/zeppelin + +# Add the FM app +PRODUCT_PACKAGES += FM diff --git a/vendorsetup.sh b/vendorsetup.sh index 663404d5..57f44eed 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -26,6 +26,7 @@ add_lunch_combo cyanogen_supersonic-eng add_lunch_combo cyanogen_vega-eng add_lunch_combo cyanogen_vision-eng add_lunch_combo cyanogen_z71-eng +add_lunch_combo cyanogen_zeppelin-eng add_lunch_combo cyanogen_zero-eng PATH=$PATH:$PWD/vendor/cyanogen/tools ; export PATH