Skip to content

Commit 7f73f39

Browse files
l0koddavem330
authored andcommitted
bpf: Change the include directory for selftest
Use the tools include directory instead of the installed one to allow builds from other kernels. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9a73826 commit 7f73f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CFLAGS += -Wall -O2 -I../../../../usr/include
1+
CFLAGS += -Wall -O2 -I../../../include/uapi
22

33
test_objs = test_verifier test_tag test_maps test_lru_map test_lpm_map
44

0 commit comments

Comments
 (0)