summaryrefslogtreecommitdiffstats
path: root/tools/virtio/vhost_test
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/vhost_test')
-rw-r--r--tools/virtio/vhost_test/Makefile3
-rw-r--r--tools/virtio/vhost_test/vhost_test.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/virtio/vhost_test/Makefile b/tools/virtio/vhost_test/Makefile
new file mode 100644
index 0000000000..94d3aff987
--- /dev/null
+++ b/tools/virtio/vhost_test/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-m += vhost_test.o
+EXTRA_CFLAGS += -Idrivers/vhost
diff --git a/tools/virtio/vhost_test/vhost_test.c b/tools/virtio/vhost_test/vhost_test.c
new file mode 100644
index 0000000000..18735189e6
--- /dev/null
+++ b/tools/virtio/vhost_test/vhost_test.c
@@ -0,0 +1 @@
+#include "test.c"