g12-common: Invert keymaster deps inclusion logic
authorBruno Martins <bgcngm@gmail.com>
Wed, 4 Oct 2023 09:44:18 +0000 (10:44 +0100)
committerBruno Martins <bgcngm@gmail.com>
Wed, 4 Oct 2023 09:59:39 +0000 (09:59 +0000)
The flag is only set for targets that don't support TEE.

Change-Id: I80594529f9d2506f7844a4e38c81740fe339c7b5

g12.mk

diff --git a/g12.mk b/g12.mk
index e8b065faeb86591e5ae0a59b1b0be91dbeec5eb7..7d77e3627ef24393b5b5db49074dbffdb92aab47 100644 (file)
--- a/g12.mk
+++ b/g12.mk
@@ -95,7 +95,7 @@ PRODUCT_PACKAGES += \
     optee-module
 
 ## Keymaster
-ifeq ($(TARGET_HAS_TEE),true)
+ifneq ($(TARGET_HAS_TEE),false)
 PRODUCT_PACKAGES += \
     android.hardware.hardware_keystore.xml \
     lib_android_keymaster_keymint_utils.vendor \