summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/pci_endpoint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/pci_endpoint/Makefile')
-rw-r--r--tools/testing/selftests/pci_endpoint/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/pci_endpoint/Makefile b/tools/testing/selftests/pci_endpoint/Makefile
new file mode 100644
index 000000000000..bf21ebf20b4a
--- /dev/null
+++ b/tools/testing/selftests/pci_endpoint/Makefile
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -O2 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
+LDFLAGS += -lrt -lpthread -lm
+
+TEST_GEN_PROGS = pci_endpoint_test
+
+include ../lib.mk