aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/cxl/test/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/cxl/test/Kbuild')
-rw-r--r--tools/testing/cxl/test/Kbuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/cxl/test/Kbuild b/tools/testing/cxl/test/Kbuild
new file mode 100644
index 000000000000..6b1927897856
--- /dev/null
+++ b/tools/testing/cxl/test/Kbuild
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
+
+obj-m += cxl_test.o
+obj-m += cxl_mock.o
+obj-m += cxl_mock_mem.o
+
+cxl_test-y := cxl.o
+cxl_mock-y := mock.o
+cxl_mock_mem-y := mem.o
+
+KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS))