forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/tools/testing/selftests/cgroup/Makefile
....@@ -1,12 +1,18 @@
11 # SPDX-License-Identifier: GPL-2.0
2
-CFLAGS += -Wall
2
+CFLAGS += -Wall -pthread
33
44 all:
55
6
+TEST_FILES := with_stress.sh
7
+TEST_PROGS := test_stress.sh
68 TEST_GEN_PROGS = test_memcontrol
9
+TEST_GEN_PROGS += test_kmem
710 TEST_GEN_PROGS += test_core
11
+TEST_GEN_PROGS += test_freezer
812
913 include ../lib.mk
1014
11
-$(OUTPUT)/test_memcontrol: cgroup_util.c
12
-$(OUTPUT)/test_core: cgroup_util.c
15
+$(OUTPUT)/test_memcontrol: cgroup_util.c ../clone3/clone3_selftests.h
16
+$(OUTPUT)/test_kmem: cgroup_util.c ../clone3/clone3_selftests.h
17
+$(OUTPUT)/test_core: cgroup_util.c ../clone3/clone3_selftests.h
18
+$(OUTPUT)/test_freezer: cgroup_util.c ../clone3/clone3_selftests.h