Makefile (9a365e67d8bbcfff47063a4eeaa98fd3668e223a) Makefile (3886bd7c9b01317a5721161f8314f6c25f4f6229)
1# SPDX-License-Identifier: GPL-2.0
2include ../../../../scripts/Kbuild.include
3include ../../../scripts/Makefile.arch
4
5LIBDIR := ../../../lib
6BPFDIR := $(LIBDIR)/bpf
7APIDIR := ../../../include/uapi
8GENDIR := ../../../../include/generated

--- 15 unchanged lines hidden (view full) ---

24
25# Order correspond to 'make run_tests' order
26TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \
27 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \
28 test_sock test_btf test_sockmap get_cgroup_id_user test_socket_cookie \
29 test_cgroup_storage test_select_reuseport test_section_names \
30 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \
31 test_btf_dump test_cgroup_attach xdping \
1# SPDX-License-Identifier: GPL-2.0
2include ../../../../scripts/Kbuild.include
3include ../../../scripts/Makefile.arch
4
5LIBDIR := ../../../lib
6BPFDIR := $(LIBDIR)/bpf
7APIDIR := ../../../include/uapi
8GENDIR := ../../../../include/generated

--- 15 unchanged lines hidden (view full) ---

24
25# Order correspond to 'make run_tests' order
26TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \
27 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \
28 test_sock test_btf test_sockmap get_cgroup_id_user test_socket_cookie \
29 test_cgroup_storage test_select_reuseport test_section_names \
30 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \
31 test_btf_dump test_cgroup_attach xdping \
32 test_sockopt_multi test_sockopt_inherit test_tcp_rtt
32 test_sockopt_inherit test_tcp_rtt
33
34BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
35TEST_GEN_FILES = $(BPF_OBJ_FILES)
36
37BTF_C_FILES = $(wildcard progs/btf_dump_test_case_*.c)
38TEST_FILES = $(BTF_C_FILES)
39
40# Also test sub-register code-gen if LLVM has eBPF v3 processor support which

--- 67 unchanged lines hidden (view full) ---

108$(OUTPUT)/test_tcpnotify_user: cgroup_helpers.c trace_helpers.c
109$(OUTPUT)/test_progs: cgroup_helpers.c trace_helpers.c
110$(OUTPUT)/get_cgroup_id_user: cgroup_helpers.c
111$(OUTPUT)/test_cgroup_storage: cgroup_helpers.c
112$(OUTPUT)/test_netcnt: cgroup_helpers.c
113$(OUTPUT)/test_sock_fields: cgroup_helpers.c
114$(OUTPUT)/test_sysctl: cgroup_helpers.c
115$(OUTPUT)/test_cgroup_attach: cgroup_helpers.c
33
34BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
35TEST_GEN_FILES = $(BPF_OBJ_FILES)
36
37BTF_C_FILES = $(wildcard progs/btf_dump_test_case_*.c)
38TEST_FILES = $(BTF_C_FILES)
39
40# Also test sub-register code-gen if LLVM has eBPF v3 processor support which

--- 67 unchanged lines hidden (view full) ---

108$(OUTPUT)/test_tcpnotify_user: cgroup_helpers.c trace_helpers.c
109$(OUTPUT)/test_progs: cgroup_helpers.c trace_helpers.c
110$(OUTPUT)/get_cgroup_id_user: cgroup_helpers.c
111$(OUTPUT)/test_cgroup_storage: cgroup_helpers.c
112$(OUTPUT)/test_netcnt: cgroup_helpers.c
113$(OUTPUT)/test_sock_fields: cgroup_helpers.c
114$(OUTPUT)/test_sysctl: cgroup_helpers.c
115$(OUTPUT)/test_cgroup_attach: cgroup_helpers.c
116$(OUTPUT)/test_sockopt_multi: cgroup_helpers.c
117$(OUTPUT)/test_sockopt_inherit: cgroup_helpers.c
118$(OUTPUT)/test_tcp_rtt: cgroup_helpers.c
119
120.PHONY: force
121
122# force a rebuild of BPFOBJ when its dependencies are updated
123force:
124

--- 167 unchanged lines hidden ---
116$(OUTPUT)/test_sockopt_inherit: cgroup_helpers.c
117$(OUTPUT)/test_tcp_rtt: cgroup_helpers.c
118
119.PHONY: force
120
121# force a rebuild of BPFOBJ when its dependencies are updated
122force:
123

--- 167 unchanged lines hidden ---