From 91097a6627d16a51835ba5408ff2dc5e718e6bb8 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 27 Oct 2011 23:48:39 +0100 Subject: [PATCH] CM: Add p970 device (LGE Optimus Black) Change-Id: Ia0e512738f7133e5175502417ca78837f6b8be72 --- products/AndroidProducts.mk | 1 + products/cyanogen_p970.mk | 32 ++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 34 insertions(+) create mode 100644 products/cyanogen_p970.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 6caf3d4d..21ae1da9 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -40,6 +40,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_motus.mk \ $(LOCAL_DIR)/cyanogen_one.mk \ $(LOCAL_DIR)/cyanogen_olympus.mk \ + $(LOCAL_DIR)/cyanogen_p970.mk \ $(LOCAL_DIR)/cyanogen_p990.mk \ $(LOCAL_DIR)/cyanogen_p999.mk \ $(LOCAL_DIR)/cyanogen_passion.mk \ diff --git a/products/cyanogen_p970.mk b/products/cyanogen_p970.mk new file mode 100644 index 00000000..d2486697 --- /dev/null +++ b/products/cyanogen_p970.mk @@ -0,0 +1,32 @@ +# Include GSM stuff +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# Inherit device configuration +$(call inherit-product, device/lge/p970/p970.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_p970 +PRODUCT_BRAND := lge +PRODUCT_DEVICE := p970 +PRODUCT_MODEL := LG-P970 +PRODUCT_MANUFACTURER := LGE +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=lge_bproj BUILD_ID=GRJ22 BUILD_FINGERPRINT="lge/lge_bproj/bproj_EUR-XXX:2.3.4/GRJ22/LG-P970-V20d.421CC761:user/release-keys" PRIVATE_BUILD_DESC="lge_bproj-user 2.3.4 GRJ22 LG-P970-V20d.421CC761 release-keys" + +# Release name and versioning +PRODUCT_RELEASE_NAME := OptimusBlack +PRODUCT_VERSION_DEVICE_SPECIFIC := +-include vendor/cyanogen/products/common_versions.mk + +# +# Copy prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip + +# Add the Torch app +#PRODUCT_PACKAGES += Torch diff --git a/vendorsetup.sh b/vendorsetup.sh index 6a304fa7..62a366a8 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -39,6 +39,7 @@ add_lunch_combo cyanogen_morrison-eng add_lunch_combo cyanogen_motus-eng add_lunch_combo cyanogen_one-eng add_lunch_combo cyanogen_olympus-eng +add_lunch_combo cyanogen_p970-eng add_lunch_combo cyanogen_p990-eng add_lunch_combo cyanogen_p999-eng add_lunch_combo cyanogen_passion-eng