summaryrefslogtreecommitdiffstats
path: root/src/vendorcode/eltan/security/mboot/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/eltan/security/mboot/Makefile.mk')
-rw-r--r--src/vendorcode/eltan/security/mboot/Makefile.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vendorcode/eltan/security/mboot/Makefile.mk b/src/vendorcode/eltan/security/mboot/Makefile.mk
new file mode 100644
index 000000000000..99db2c31c237
--- /dev/null
+++ b/src/vendorcode/eltan/security/mboot/Makefile.mk
@@ -0,0 +1,12 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_VENDORCODE_ELTAN_MBOOT),y)
+postcar-y += mboot.c
+
+ramstage-y += mboot.c
+ramstage-y += mboot_func.c
+
+romstage-y += mboot.c
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)
+
+endif # CONFIG_VENDORCODE_ELTAN_VBOOT or CONFIG_VENDORCODE_ELTAN_MBOOT