summaryrefslogtreecommitdiff
path: root/src/drivers/efi/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/efi/Makefile.mk')
-rw-r--r--src/drivers/efi/Makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/efi/Makefile.mk b/src/drivers/efi/Makefile.mk
new file mode 100644
index 0000000000..2597c09bff
--- /dev/null
+++ b/src/drivers/efi/Makefile.mk
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+all-$(CONFIG_DRIVERS_EFI_VARIABLE_STORE) += efivars.c
+smm-$(CONFIG_DRIVERS_EFI_VARIABLE_STORE) += efivars.c
+
+all-$(CONFIG_USE_UEFI_VARIABLE_STORE) += option.c
+smm-$(CONFIG_USE_UEFI_VARIABLE_STORE) += option.c