aboutsummaryrefslogtreecommitdiff
path: root/lineage.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lineage.mk (renamed from cm.mk)21
1 files changed, 13 insertions, 8 deletions
diff --git a/cm.mk b/lineage.mk
index 0430af1..2bae272 100644
--- a/cm.mk
+++ b/lineage.mk
@@ -1,4 +1,5 @@
-# Copyright (C) 2016 The CyanogenMod Project
+# Copyright (C) 2013-2016, The CyanogenMod Project
+# Copyright (C) 2017, The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,22 +17,26 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-# Inherit from oneplus3 device
+# Inherit from z2_plus device
$(call inherit-product, device/zuk/z2_plus/device.mk)
-# Inherit some common CM stuff.
+# Inherit some common LineageOS stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
-PRODUCT_NAME := cm_z2_plus
+PRODUCT_NAME := lineage_z2_plus
PRODUCT_DEVICE := z2_plus
PRODUCT_MANUFACTURER := ZUK
PRODUCT_BRAND := ZUK
-PRODUCT_MODEL := Z2 Plus
PRODUCT_GMS_CLIENTID_BASE := android-zuk
-TARGET_VENDOR_PRODUCT_NAME := z2_plus
-TARGET_VENDOR_DEVICE_NAME := z2_plus
-PRODUCT_BUILD_PROP_OVERRIDES += TARGET_DEVICE=z2_plus PRODUCT_NAME=z2_plus
+TARGET_VENDOR_PRODUCT_NAME := Z2_plus
+TARGET_VENDOR_DEVICE_NAME := Z2_plus
+PRODUCT_BUILD_PROP_OVERRIDES += TARGET_DEVICE=Z2_plus PRODUCT_NAME=Z2_plus
+
+PRODUCT_SYSTEM_PROPERTY_BLACKLIST += ro.product.model
TARGET_VENDOR := zuk
+
+# Unofficial build ID
+TARGET_UNOFFICIAL_BUILD_ID := OrdenKrieger \ No newline at end of file