summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cgroup/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/cgroup/Makefile')
-rw-r--r--tools/testing/selftests/cgroup/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/Makefile b/tools/testing/selftests/cgroup/Makefile
new file mode 100644
index 000000000..23fbaa4a9
--- /dev/null
+++ b/tools/testing/selftests/cgroup/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -Wall
+
+all:
+
+TEST_GEN_PROGS = test_memcontrol
+TEST_GEN_PROGS += test_core
+
+include ../lib.mk
+
+$(OUTPUT)/test_memcontrol: cgroup_util.c
+$(OUTPUT)/test_core: cgroup_util.c