summaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/test/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/nvdimm/test/Kbuild')
-rw-r--r--tools/testing/nvdimm/test/Kbuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/nvdimm/test/Kbuild b/tools/testing/nvdimm/test/Kbuild
new file mode 100644
index 000000000..75baebf8f
--- /dev/null
+++ b/tools/testing/nvdimm/test/Kbuild
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+ccflags-y := -I$(srctree)/drivers/nvdimm/
+ccflags-y += -I$(srctree)/drivers/acpi/nfit/
+
+obj-m += nfit_test.o
+obj-m += nfit_test_iomap.o
+
+nfit_test-y := nfit.o
+nfit_test_iomap-y := iomap.o