dopinder: Make device name/product prop overrides work
authorLuK1337 <priv.luk@gmail.com>
Thu, 27 Jan 2022 09:53:26 +0000 (10:53 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 29 Apr 2024 21:30:18 +0000 (17:30 -0400)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

lineage_dopinder.mk

index fcfb4a00f85ee8c757894dbe3809ce3cf22e5041..d97445ed549a9158502bb90ac76a53f08e538690 100644 (file)
@@ -21,8 +21,13 @@ PRODUCT_MANUFACTURER := askey
 PRODUCT_MODEL := sti6140d360
 PRODUCT_NAME := lineage_dopinder
 
+PRODUCT_SYSTEM_NAME := sti6140d360
+PRODUCT_SYSTEM_DEVICE := sti6140d360
+
 PRODUCT_BUILD_PROP_OVERRIDES += \
     PRODUCT_NAME=dopinder \
-    PRIVATE_BUILD_DESC="sti6140d360-user 12 SC 20231117 release-keys"
+    PRIVATE_BUILD_DESC="sti6140d360-user 12 SC 20231117 release-keys" \
+    TARGET_DEVICE=$(PRODUCT_DEVICE) \
+    TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
 
 BUILD_FINGERPRINT := Onn/sti6140d360/sti6140d360:12/SC/20231117:user/release-keys