beast: 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:33:55 +0000 (21:33 +0000)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc
(cherry picked from commit 71d593a82da36c81ec4050d090d59bb914f8d9f9)

lineage_beast.mk

index e704684d010cdfcded2294158341e0a855fd0842..7d757bc7a2b9cf89ce2d58f98e7af303a9d9ab94 100644 (file)
@@ -21,8 +21,13 @@ PRODUCT_MANUFACTURER := Google
 PRODUCT_MODEL := ADT-2
 PRODUCT_NAME := lineage_beast
 
+PRODUCT_SYSTEM_NAME := adt2
+PRODUCT_SYSTEM_DEVICE := adt2
+
 PRODUCT_BUILD_PROP_OVERRIDES += \
     PRODUCT_NAME=adt2 \
-    PRIVATE_BUILD_DESC="adt2-user 9 PTT5.190307.001 5360859 dev-keys"
+    PRIVATE_BUILD_DESC="adt2-user 9 PTT5.190307.001 5360859 dev-keys" \
+    TARGET_DEVICE=$(PRODUCT_DEVICE) \
+    TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
 
 BUILD_FINGERPRINT := google/adt2/adt2:9/PTT5.190307.001/5360859:user/dev-keys