Makefile (d0a3a4b2189904955b6b52c06f986b5e021811a7) Makefile (cd5385029f1d2e6879b78fff1a7b15514004af17)
1# SPDX-License-Identifier: GPL-2.0
2
3LIBDIR := ../../../lib
4BPFDIR := $(LIBDIR)/bpf
5APIDIR := ../../../include/uapi
6GENDIR := ../../../../include/generated
7GENHDR := $(GENDIR)/autoconf.h
8

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

21LDLIBS += -lcap -lelf -lrt -lpthread
22
23# Order correspond to 'make run_tests' order
24TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \
25 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \
26 test_sock test_btf test_sockmap test_lirc_mode2_user get_cgroup_id_user \
27 test_socket_cookie test_cgroup_storage test_select_reuseport test_section_names \
28 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \
1# SPDX-License-Identifier: GPL-2.0
2
3LIBDIR := ../../../lib
4BPFDIR := $(LIBDIR)/bpf
5APIDIR := ../../../include/uapi
6GENDIR := ../../../../include/generated
7GENHDR := $(GENDIR)/autoconf.h
8

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

21LDLIBS += -lcap -lelf -lrt -lpthread
22
23# Order correspond to 'make run_tests' order
24TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \
25 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \
26 test_sock test_btf test_sockmap test_lirc_mode2_user get_cgroup_id_user \
27 test_socket_cookie test_cgroup_storage test_select_reuseport test_section_names \
28 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \
29 test_btf_dump test_cgroup_attach
29 test_btf_dump test_cgroup_attach xdping
30
31BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
32TEST_GEN_FILES = $(BPF_OBJ_FILES)
33
34# Also test sub-register code-gen if LLVM has eBPF v3 processor support which
35# contains both ALU32 and JMP32 instructions.
36SUBREG_CODEGEN := $(shell echo "int cal(int a) { return a > 0; }" | \
37 $(CLANG) -target bpf -O2 -emit-llvm -S -x c - -o - | \

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

52 test_lwt_seg6local.sh \
53 test_lirc_mode2.sh \
54 test_skb_cgroup_id.sh \
55 test_flow_dissector.sh \
56 test_xdp_vlan.sh \
57 test_lwt_ip_encap.sh \
58 test_tcp_check_syncookie.sh \
59 test_tc_tunnel.sh \
30
31BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
32TEST_GEN_FILES = $(BPF_OBJ_FILES)
33
34# Also test sub-register code-gen if LLVM has eBPF v3 processor support which
35# contains both ALU32 and JMP32 instructions.
36SUBREG_CODEGEN := $(shell echo "int cal(int a) { return a > 0; }" | \
37 $(CLANG) -target bpf -O2 -emit-llvm -S -x c - -o - | \

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

52 test_lwt_seg6local.sh \
53 test_lirc_mode2.sh \
54 test_skb_cgroup_id.sh \
55 test_flow_dissector.sh \
56 test_xdp_vlan.sh \
57 test_lwt_ip_encap.sh \
58 test_tcp_check_syncookie.sh \
59 test_tc_tunnel.sh \
60 test_tc_edt.sh
60 test_tc_edt.sh \
61 test_xdping.sh
61
62TEST_PROGS_EXTENDED := with_addr.sh \
63 with_tunnels.sh \
64 tcp_client.py \
65 tcp_server.py
66
67# Compile but not part of 'make run_tests'
68TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \

--- 213 unchanged lines hidden ---
62
63TEST_PROGS_EXTENDED := with_addr.sh \
64 with_tunnels.sh \
65 tcp_client.py \
66 tcp_server.py
67
68# Compile but not part of 'make run_tests'
69TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \

--- 213 unchanged lines hidden ---