guard keymaster
authorJan Altensen <info@stricted.net>
Mon, 22 Oct 2018 19:09:18 +0000 (21:09 +0200)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:03:37 +0000 (03:03 +0200)
Change-Id: I3817eb69c9c73b509bc22faaae42af4dc71e35f9

Android.mk

index 473ae47908bc63eb02bc001048af1f641b50c761..2fc32337ba59fa6f403fcb19c3b35225c77ba90a 100644 (file)
 ifeq ($(TARGET_BOARD_PLATFORM),exynos5)
 ifeq ($(TARGET_SLSI_VARIANT),bsp)
 
-exynos5_dirs := \
+ifeq ($(BOARD_USES_TRUST_KEYMASTER), true)
+exynos5_dirs += \
        libkeymaster
+endif
 
 include $(call all-named-subdir-makefiles,$(exynos5_dirs))