From: Mickaël Salaün Date: Thu, 9 Feb 2017 23:21:36 +0000 (+0100) Subject: bpf: Change the include directory for selftest X-Git-Tag: v4.14-rc1~1463^2~146^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f73f39a89c25c04ac684661ee61edcae476eb15;p=platform%2Fkernel%2Flinux-rpi3.git 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 Cc: Alexei Starovoitov Cc: Arnaldo Carvalho de Melo Cc: Daniel Borkmann Cc: David S. Miller Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 769a6cb..c470c73 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -1,4 +1,4 @@ -CFLAGS += -Wall -O2 -I../../../../usr/include +CFLAGS += -Wall -O2 -I../../../include/uapi test_objs = test_verifier test_tag test_maps test_lru_map test_lpm_map