summaryrefslogtreecommitdiff
path: root/tests/drivers/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/drivers/Makefile.mk')
-rw-r--r--tests/drivers/Makefile.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/drivers/Makefile.mk b/tests/drivers/Makefile.mk
new file mode 100644
index 0000000000..d77f43c57f
--- /dev/null
+++ b/tests/drivers/Makefile.mk
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+tests-y += efivars-test
+
+efivars-test-srcs += tests/drivers/efivars.c
+efivars-test-srcs += src/drivers/efi/efivars.c
+efivars-test-srcs += tests/stubs/console.c
+efivars-test-srcs += src/commonlib/region.c
+
+efivars-test-cflags += -I src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/
+efivars-test-cflags += -I src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Ia32/
+efivars-test-cflags += -I src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Pi/
+efivars-test-cflags += -I src/vendorcode/intel/edk2/UDK2017/MdeModulePkg/Include/