summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ring-buffer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/ring-buffer/Makefile')
-rw-r--r--tools/testing/selftests/ring-buffer/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/ring-buffer/Makefile b/tools/testing/selftests/ring-buffer/Makefile
new file mode 100644
index 0000000000..627c5fa6d1
--- /dev/null
+++ b/tools/testing/selftests/ring-buffer/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -Wl,-no-as-needed -Wall
+CFLAGS += $(KHDR_INCLUDES)
+CFLAGS += -D_GNU_SOURCE
+
+TEST_GEN_PROGS = map_test
+
+include ../lib.mk