summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/resctrl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/resctrl/Makefile')
-rw-r--r--tools/testing/selftests/resctrl/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
new file mode 100644
index 000000000..984534cfb
--- /dev/null
+++ b/tools/testing/selftests/resctrl/Makefile
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0
+
+CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2
+CFLAGS += $(KHDR_INCLUDES)
+
+TEST_GEN_PROGS := resctrl_tests
+
+LOCAL_HDRS += $(wildcard *.h)
+
+include ../lib.mk
+CFLAGS += -I$(top_srcdir)/tools/include
+
+$(OUTPUT)/resctrl_tests: $(wildcard *.c)