Makefile (92f7440ecc9331aa1e274273d4a3cb5c58b69706) | Makefile (257c88559f360ef40d251942f1f9f0c55f5f91ca) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2include ../../../../scripts/Kbuild.include 3include ../../../scripts/Makefile.arch 4 5CURDIR := $(abspath .) 6TOOLSDIR := $(abspath ../../..) 7LIBDIR := $(TOOLSDIR)/lib 8BPFDIR := $(LIBDIR)/bpf --- 18 unchanged lines hidden (view full) --- 27LDLIBS += -lcap -lelf -lz -lrt -lpthread 28 29# Order correspond to 'make run_tests' order 30TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \ 31 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \ 32 test_sock test_btf test_sockmap get_cgroup_id_user test_socket_cookie \ 33 test_cgroup_storage \ 34 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \ | 1# SPDX-License-Identifier: GPL-2.0 2include ../../../../scripts/Kbuild.include 3include ../../../scripts/Makefile.arch 4 5CURDIR := $(abspath .) 6TOOLSDIR := $(abspath ../../..) 7LIBDIR := $(TOOLSDIR)/lib 8BPFDIR := $(LIBDIR)/bpf --- 18 unchanged lines hidden (view full) --- 27LDLIBS += -lcap -lelf -lz -lrt -lpthread 28 29# Order correspond to 'make run_tests' order 30TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \ 31 test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \ 32 test_sock test_btf test_sockmap get_cgroup_id_user test_socket_cookie \ 33 test_cgroup_storage \ 34 test_netcnt test_tcpnotify_user test_sock_fields test_sysctl test_hashmap \ |
35 test_cgroup_attach test_progs-no_alu32 | 35 test_progs-no_alu32 |
36 37# Also test bpf-gcc, if present 38ifneq ($(BPF_GCC),) 39TEST_GEN_PROGS += test_progs-bpf_gcc 40endif 41 42TEST_GEN_FILES = 43TEST_FILES = test_lwt_ip_encap.o \ --- 87 unchanged lines hidden (view full) --- 131$(OUTPUT)/test_sockmap: cgroup_helpers.c 132$(OUTPUT)/test_tcpbpf_user: cgroup_helpers.c 133$(OUTPUT)/test_tcpnotify_user: cgroup_helpers.c trace_helpers.c 134$(OUTPUT)/get_cgroup_id_user: cgroup_helpers.c 135$(OUTPUT)/test_cgroup_storage: cgroup_helpers.c 136$(OUTPUT)/test_netcnt: cgroup_helpers.c 137$(OUTPUT)/test_sock_fields: cgroup_helpers.c 138$(OUTPUT)/test_sysctl: cgroup_helpers.c | 36 37# Also test bpf-gcc, if present 38ifneq ($(BPF_GCC),) 39TEST_GEN_PROGS += test_progs-bpf_gcc 40endif 41 42TEST_GEN_FILES = 43TEST_FILES = test_lwt_ip_encap.o \ --- 87 unchanged lines hidden (view full) --- 131$(OUTPUT)/test_sockmap: cgroup_helpers.c 132$(OUTPUT)/test_tcpbpf_user: cgroup_helpers.c 133$(OUTPUT)/test_tcpnotify_user: cgroup_helpers.c trace_helpers.c 134$(OUTPUT)/get_cgroup_id_user: cgroup_helpers.c 135$(OUTPUT)/test_cgroup_storage: cgroup_helpers.c 136$(OUTPUT)/test_netcnt: cgroup_helpers.c 137$(OUTPUT)/test_sock_fields: cgroup_helpers.c 138$(OUTPUT)/test_sysctl: cgroup_helpers.c |
139$(OUTPUT)/test_cgroup_attach: cgroup_helpers.c | |
140 141.PHONY: force 142 143# force a rebuild of BPFOBJ when its dependencies are updated 144force: 145 146DEFAULT_BPFTOOL := $(OUTPUT)/tools/usr/local/sbin/bpftool 147BPFTOOL ?= $(DEFAULT_BPFTOOL) --- 235 unchanged lines hidden --- | 139 140.PHONY: force 141 142# force a rebuild of BPFOBJ when its dependencies are updated 143force: 144 145DEFAULT_BPFTOOL := $(OUTPUT)/tools/usr/local/sbin/bpftool 146BPFTOOL ?= $(DEFAULT_BPFTOOL) --- 235 unchanged lines hidden --- |