|
|
@@ -7,11 +7,24 @@
|
|
|
|
|
|
DEVICE_PATH := device/samsung/dm2q
|
|
|
|
|
|
+# Release name
|
|
|
+PRODUCT_RELEASE_NAME := dm2q
|
|
|
+
|
|
|
+# Inherit from those products. Most specific first.
|
|
|
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
|
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
|
+$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
|
|
+
|
|
|
+# Inherit some common twrp stuff.
|
|
|
+$(call inherit-product, vendor/twrp/config/common.mk)
|
|
|
+
|
|
|
+# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
|
+$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
+
|
|
|
# Inherit from device.mk configuration
|
|
|
$(call inherit-product, $(DEVICE_PATH)/device.mk)
|
|
|
|
|
|
-# Release name
|
|
|
-PRODUCT_RELEASE_NAME := dm2q
|
|
|
+PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,device/samsung/$(PRODUCT_RELEASE_NAME)/recovery/root,recovery/root)
|
|
|
|
|
|
PRODUCT_DEVICE := $(PRODUCT_RELEASE_NAME)
|
|
|
PRODUCT_NAME := twrp_$(PRODUCT_RELEASE_NAME)
|
|
|
@@ -21,4 +34,4 @@ PRODUCT_MANUFACTURER := samsung
|
|
|
PRODUCT_GMS_CLIENTID_BASE := android-samsung
|
|
|
|
|
|
# Assert
|
|
|
-TARGET_OTA_ASSERT_DEVICE := $(PRODUCT_RELEASE_NAME)
|
|
|
+TARGET_OTA_ASSERT_DEVICE := $(PRODUCT_RELEASE_NAME)
|