summaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/eltan')
-rw-r--r--src/vendorcode/eltan/security/Makefile.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vendorcode/eltan/security/Makefile.inc b/src/vendorcode/eltan/security/Makefile.inc
index 26b324ba58..16f17fddd7 100644
--- a/src/vendorcode/eltan/security/Makefile.inc
+++ b/src/vendorcode/eltan/security/Makefile.inc
@@ -1,6 +1,6 @@
## This file is part of the coreboot project.
##
-## Copyright (C) 2018 Eltan B.V.
+## Copyright (C) 2018-2019 Eltan B.V.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -16,12 +16,9 @@ subdirs-y += lib
subdirs-y += verified_boot
subdirs-y += mboot
-ifeq ($(CONFIG_MBOOT), y)
+ifneq ($(filter y,$(CONFIG_VENDORCODE_ELTAN_VBOOT) $(CONFIG_VENDORCODE_ELTAN_MBOOT)),)
CPPFLAGS_common += -I$(src)/vendorcode/eltan/security/mboot
CPPFLAGS_common += -I$(src)/vendorcode/eltan/security/include
-endif
-
-ifeq ($(CONFIG_VERIFIED_BOOT), y)
CPPFLAGS_common += -I$(src)/vendorcode/eltan/security/verified_boot
endif