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.11-rc1~124^2~146^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f73f39a89c25c04ac684661ee61edcae476eb15;p=thirdparty%2Fkernel%2Flinux.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 769a6cb42b4b7..c470c7301636c 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