m5: 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:22:24 +0000 (17:22 -0400)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

lineage_m5.mk

index d002c623a712399e37e3a1c72d864bd4f8ee5ca5..db83d6031453e23a29cb5d913bc7c71999188dcf 100644 (file)
@@ -20,9 +20,10 @@ PRODUCT_GMS_CLIENTID_BASE := android-askey-tv
 PRODUCT_MANUFACTURER := bananapi
 PRODUCT_MODEL := BPI-M5
 PRODUCT_NAME := lineage_m5
+PRODUCT_SYSTEM_NAME := m5
 
 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