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:52:04 +0000 (10:52 +0100)
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 be8cd89a5528634040802e4e6c2c32969d2dace1..aae9f170277df6ff6a6f3f2105b677b9e456dbb8 100644 (file)
--- a/g12.mk
+++ b/g12.mk
@@ -100,7 +100,7 @@ PRODUCT_PACKAGES += \
     optee-module
 
 ## Keymaster
-ifeq ($(TARGET_HAS_TEE),true)
+ifneq ($(TARGET_HAS_TEE),false)
 PRODUCT_PACKAGES += \
     android.hardware.security.keymint-V1-ndk_platform.vendor \
     android.hardware.security.secureclock-V1-ndk_platform.vendor \