Replace bpf_prog_load() with bpf_load_program() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
309 B
Makefile
15 lines
309 B
Makefile
CFLAGS += -Wall -O2 -lcap -I../../../include/uapi -I../../../lib
|
|
|
|
test_objs = test_verifier test_tag test_maps test_lru_map test_lpm_map
|
|
|
|
TEST_PROGS := $(test_objs) test_kmod.sh
|
|
TEST_FILES := $(test_objs)
|
|
|
|
all: $(test_objs)
|
|
|
|
$(test_objs): ../../../lib/bpf/bpf.o
|
|
|
|
include ../lib.mk
|
|
|
|
clean:
|
|
$(RM) $(test_objs)
|