From: Bruno Martins Date: Wed, 4 Oct 2023 09:15:18 +0000 (+0100) Subject: g12-common: Skip keymaster vendor deps unless target has TEE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2908323e75a39e37db9ae092c16df4690f8136c7;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12-common: Skip keymaster vendor deps unless target has TEE Change-Id: I23bd70cc1c10f509e259d9c624702c0f1d1c4725 --- diff --git a/g12.mk b/g12.mk index ee51a24..1a3572d 100644 --- a/g12.mk +++ b/g12.mk @@ -100,6 +100,7 @@ PRODUCT_PACKAGES += \ optee-module ## Keymaster +ifeq ($(TARGET_HAS_TEE),true) PRODUCT_PACKAGES += \ android.hardware.security.keymint-V1-ndk_platform.vendor \ android.hardware.security.secureclock-V1-ndk_platform.vendor \ @@ -113,8 +114,7 @@ PRODUCT_PACKAGES += \ libshmemcompat.vendor \ libsoft_attestation_cert.vendor \ libtrusty.vendor - -ifeq ($(TARGET_HAS_TEE),false) +else PRODUCT_PACKAGES += \ android.hardware.keymaster@4.1-service endif