summaryrefslogtreecommitdiffstats
path: root/products/replicant_legend.mk
diff options
context:
space:
mode:
Diffstat (limited to 'products/replicant_legend.mk')
-rw-r--r--products/replicant_legend.mk40
1 files changed, 40 insertions, 0 deletions
diff --git a/products/replicant_legend.mk b/products/replicant_legend.mk
new file mode 100644
index 0000000..d8d6885
--- /dev/null
+++ b/products/replicant_legend.mk
@@ -0,0 +1,40 @@
+# Inherit AOSP device configuration for legend.
+$(call inherit-product, device/htc/legend/legend.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/replicant/products/common.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/replicant/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := replicant_legend
+PRODUCT_BRAND := htc
+PRODUCT_DEVICE := legend
+PRODUCT_MODEL := Legend
+PRODUCT_MANUFACTURER := HTC
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_legend BUILD_ID=FRG83 BUILD_DISPLAY_ID=FRG83 BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2.1/FRG83/60505:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.2.1 FRG83 60505 release-keys"
+
+PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/replicant/prelink-linux-arm-legend.map
+
+# Include the Torch app
+PRODUCT_PACKAGES += Torch
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-Legend
+else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6.2.0-RC0-Legend
+endif
+
+#
+# Copy legend specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/replicant/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip