File tree Expand file tree Collapse file tree
tracing03-xdp-debug-print Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33XDP_TARGETS := af_xdp_kern
44USER_TARGETS := af_xdp_user
5- LDLIBS+ = -lpthread
5+ LDLIBS += -lpthread
66
7- COMMON_DIR = ../common
7+ COMMON_DIR : = ../common
88
99include $(COMMON_DIR ) /common.mk
1010COMMON_OBJS := $(COMMON_DIR ) /common_params.o
Original file line number Diff line number Diff line change 22
33USER_TARGETS := xdp_stats xdp_loader
44
5- COMMON_DIR = ../common
5+ COMMON_DIR : = ../common
66
7- # Extend with another COMMON_OBJS
8- COMMON_OBJS += $(COMMON_DIR ) /common_user_bpf_xdp.o
7+ COMMON_OBJS := $(COMMON_DIR ) /common_user_bpf_xdp.o
98
109include $(COMMON_DIR ) /common.mk
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ LLC ?= llc
77CLANG ?= clang
88CC := gcc
99
10- COMMON_DIR = ../common
11- COMMON_OBJS + = $(COMMON_DIR ) /common_user_bpf_xdp.o
10+ COMMON_DIR : = ../common
11+ COMMON_OBJS : = $(COMMON_DIR ) /common_user_bpf_xdp.o
1212
1313include $(COMMON_DIR ) /common.mk
Original file line number Diff line number Diff line change 33XDP_TARGETS := xdp_prog_kern
44USER_TARGETS := xdp_loader
55
6- COMMON_DIR = ../common
7- COMMON_OBJS + = $(COMMON_DIR ) /common_user_bpf_xdp.o
6+ COMMON_DIR : = ../common
7+ COMMON_OBJS : = $(COMMON_DIR ) /common_user_bpf_xdp.o
88
99include $(COMMON_DIR ) /common.mk
1010
Original file line number Diff line number Diff line change 44XDP_TARGETS := xdp_prog_kern
55USER_TARGETS := xdp_load_and_stats
66
7- COMMON_DIR = ../common
7+ COMMON_DIR : = ../common
88
9- COMMON_OBJS + = $(COMMON_DIR ) /common_user_bpf_xdp.o
9+ COMMON_OBJS : = $(COMMON_DIR ) /common_user_bpf_xdp.o
1010include $(COMMON_DIR ) /common.mk
Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ XDP_TARGETS := xdp_prog_kern
44USER_TARGETS := xdp_loader
55USER_TARGETS += xdp_stats
66
7- COMMON_DIR = ../common
7+ COMMON_DIR : = ../common
88
9- # Extend with another COMMON_OBJS
10- COMMON_OBJS += $(COMMON_DIR ) /common_user_bpf_xdp.o
9+ COMMON_OBJS := $(COMMON_DIR ) /common_user_bpf_xdp.o
1110
1211include $(COMMON_DIR ) /common.mk
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ XDP_TARGETS += xdp_vlan01_kern
55XDP_TARGETS += xdp_vlan02_kern
66USER_TARGETS := xdp_prog_user
77
8- COMMON_DIR = ../common
8+ COMMON_DIR : = ../common
99
1010COPY_LOADER := xdp-loader
1111COPY_STATS := xdp_stats
12- EXTRA_DEPS + = $(COMMON_DIR ) /parsing_helpers.h
12+ EXTRA_DEPS : = $(COMMON_DIR ) /parsing_helpers.h
1313
14- COMMON_OBJS + = $(COMMON_DIR ) /common_user_bpf_xdp.o
14+ COMMON_OBJS : = $(COMMON_DIR ) /common_user_bpf_xdp.o
1515include $(COMMON_DIR ) /common.mk
Original file line number Diff line number Diff line change 33XDP_TARGETS := xdp_prog_kern
44USER_TARGETS :=
55
6- COMMON_DIR = ../common
6+ COMMON_DIR : = ../common
77
88COPY_LOADER := xdp-loader
99COPY_STATS := xdp_stats
Original file line number Diff line number Diff line change 33XDP_TARGETS := xdp_prog_kern
44USER_TARGETS :=
55
6- COMMON_DIR = ../common
6+ COMMON_DIR : = ../common
77
88COPY_LOADER := xdp-loader
99COPY_STATS := xdp_stats
Original file line number Diff line number Diff line change 33XDP_TARGETS := xdp_prog_kern
44USER_TARGETS := xdp_prog_user
55
6- COMMON_DIR = ../common
6+ COMMON_DIR : = ../common
77
88COPY_LOADER := xdp-loader
99COPY_STATS := xdp_stats
You can’t perform that action at this time.
0 commit comments