summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/perf_events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/perf_events/Makefile')
-rw-r--r--tools/testing/selftests/perf_events/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/perf_events/Makefile b/tools/testing/selftests/perf_events/Makefile
new file mode 100644
index 000000000000..fcafa5f0d34c
--- /dev/null
+++ b/tools/testing/selftests/perf_events/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -Wl,-no-as-needed -Wall -I../../../../usr/include
+LDFLAGS += -lpthread
+
+TEST_GEN_PROGS := sigtrap_threads remove_on_exec
+include ../lib.mk