diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2011-04-26 03:37:40 +0100 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2011-04-30 17:21:56 -0400 |
commit | ff59119362fd04b1e4996b7bf5a62960d56e1466 (patch) | |
tree | 649b3a4027cb5ae4f138262d5a097b84c36e4d14 /products/cyanogen_p990.mk | |
parent | fdb72a074b997279871dc482eb33ca8877819e4d (diff) | |
download | vendor_replicant-ff59119362fd04b1e4996b7bf5a62960d56e1466.zip vendor_replicant-ff59119362fd04b1e4996b7bf5a62960d56e1466.tar.gz vendor_replicant-ff59119362fd04b1e4996b7bf5a62960d56e1466.tar.bz2 |
cm: Add P990 device (LG Optimus 2X)
Change-Id: I98ce03a0b554ce8f95c76dc0025a5621cfe5fb78
Diffstat (limited to 'products/cyanogen_p990.mk')
-rw-r--r-- | products/cyanogen_p990.mk | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/products/cyanogen_p990.mk b/products/cyanogen_p990.mk new file mode 100644 index 0000000..fbe4550 --- /dev/null +++ b/products/cyanogen_p990.mk @@ -0,0 +1,46 @@ +# Inherit device configuration +$(call inherit-product, device/lge/p990/p990.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_p990 +PRODUCT_BRAND := lge +PRODUCT_DEVICE := p990 +PRODUCT_MODEL := Optimus 2X +PRODUCT_MANUFACTURER := LGE +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=lge_star BUILD_ID=FRG83G BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=lge/lge_star/p990/p990:2.2.2/FRG83G/lgp990-V10b.2ED2ADCFFC:user/release-keys PRIVATE_BUILD_DESC="star-user 2.2.2 FRG83G 2ED2ADCFFC release-keys" + +# Extra Star overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/star + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Optimus2X +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.2-Optimus2X + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.2-Optimus2X-KANG + endif +endif + +# +# Copy prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip + +# Add the Torch app +PRODUCT_PACKAGES += Torch |