aboutsummaryrefslogtreecommitdiffstats
path: root/cm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cm.mk')
-rw-r--r--cm.mk20
1 files changed, 7 insertions, 13 deletions
diff --git a/cm.mk b/cm.mk
index c096a52..cd9e966 100644
--- a/cm.mk
+++ b/cm.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2012 The CyanogenMod Project
+# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,26 +22,20 @@ PRODUCT_RELEASE_NAME := p5100
TARGET_SCREEN_HEIGHT := 480
TARGET_SCREEN_WIDTH := 1280
-# Inherit some common CM stuff.
+# Inherit common CM configuration
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
-# Inherit device configuration
-$(call inherit-product, device/samsung/p5100/full_p5100.mk)
-
# CyanogenMod specific overlay
DEVICE_PACKAGE_OVERLAYS += device/samsung/p5100/overlay/cm
DEVICE_PACKAGE_OVERLAYS += device/samsung/espresso-common/overlay/cm-common
-## Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := p5100
+# Inherit device specific configuration
+$(call inherit-product, device/samsung/p5100/aosp_p5100.mk)
+
+# Device identifier. This must come after all inclusions
PRODUCT_NAME := cm_p5100
-PRODUCT_BRAND := samsung
-PRODUCT_MODEL := GT-P5100
-PRODUCT_MANUFACTURER := samsung
-#Set build fingerprint / ID / Prduct Name ect.
+# Set build fingerprint / ID / Product Name etc.
PRODUCT_BUILD_PROP_OVERRIDES += \
- PRODUCT_NAME=espresso10rfxx \
- TARGET_DEVICE=espresso10rf \
BUILD_FINGERPRINT="samsung/espresso10rfxx/espresso10rf:4.2.2/JDQ39/P5100XXDNA1:user/release-keys" \
PRIVATE_BUILD_DESC="espresso10rfxx-user 4.2.2 JDQ39 P5100XXDNA1 release-keys"