summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/membarrier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/membarrier/Makefile')
-rw-r--r--tools/testing/selftests/membarrier/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/membarrier/Makefile b/tools/testing/selftests/membarrier/Makefile
new file mode 100644
index 000000000..34d1c81a2
--- /dev/null
+++ b/tools/testing/selftests/membarrier/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+CFLAGS += -g -I../../../../usr/include/
+LDLIBS += -lpthread
+
+TEST_GEN_PROGS := membarrier_test_single_thread \
+ membarrier_test_multi_thread
+
+include ../lib.mk