odroidc4: 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 12:46:54 +0000 (13:46 +0100)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

lineage_odroidc4.mk

index 199db2a0d5778f07cb0eac8a5c5ea1d4939f6cfd..a6928e04454ad80de5086afc0d0d1efd8fc7f0d0 100644 (file)
@@ -20,9 +20,10 @@ PRODUCT_GMS_CLIENTID_BASE := android-askey-tv
 PRODUCT_MANUFACTURER := hardkernel
 PRODUCT_MODEL := odroid c4
 PRODUCT_NAME := lineage_odroidc4
+PRODUCT_SYSTEM_NAME := odroidc4
 
 PRODUCT_BUILD_PROP_OVERRIDES += \
-    PRODUCT_NAME=adt3 \
-    PRIVATE_BUILD_DESC="adt3-user 11 RTT1.200909.003.A2 6832896 release-keys"
+    PRIVATE_BUILD_DESC="adt3-user 11 RTT1.200909.003.A2 6832896 release-keys" \
+    TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
 
 BUILD_FINGERPRINT := ADT-3/adt3/adt3:11/RTT1.200909.003.A2/6832896:user/release-keys