deadpool: Make device name/product prop overrides work
authorLuK1337 <priv.luk@gmail.com>
Thu, 27 Jan 2022 09:53:26 +0000 (10:53 +0100)
committerBruno Martins <bgcngm@gmail.com>
Sun, 28 Apr 2024 10:32:53 +0000 (10:32 +0000)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

lineage_deadpool.mk

index 44f96fb3dd70f874251785af2050fa9a08120153..eff527ea04505a22ea681cba27264276aa6b9617 100644 (file)
@@ -21,8 +21,12 @@ PRODUCT_MANUFACTURER := askey
 PRODUCT_MODEL := ADT-3
 PRODUCT_NAME := lineage_deadpool
 
+PRODUCT_SYSTEM_NAME := adt3
+PRODUCT_SYSTEM_DEVICE := adt3
+
 PRODUCT_BUILD_PROP_OVERRIDES += \
-    PRODUCT_NAME=adt3 \
-    PRIVATE_BUILD_DESC="adt3-user 13 TTT1.230205.001 9565391 release-keys"
+    PRIVATE_BUILD_DESC="adt3-user 13 TTT1.230205.001 9565391 release-keys" \
+    TARGET_DEVICE=$(PRODUCT_DEVICE) \
+    TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
 
 BUILD_FINGERPRINT := ADT-3/adt3/adt3:13/TTT1.230205.001/9565391:user/release-keys