aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/iommu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/iommu/Makefile')
-rw-r--r--tools/testing/selftests/iommu/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/iommu/Makefile b/tools/testing/selftests/iommu/Makefile
new file mode 100644
index 000000000000..32c5fdfd0eef
--- /dev/null
+++ b/tools/testing/selftests/iommu/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-only
+CFLAGS += -Wall -O2 -Wno-unused-function
+CFLAGS += $(KHDR_INCLUDES)
+
+CFLAGS += -D_GNU_SOURCE
+
+TEST_GEN_PROGS :=
+TEST_GEN_PROGS += iommufd
+TEST_GEN_PROGS += iommufd_fail_nth
+
+include ../lib.mk