bpf: Change the include directory for selftest
authorMickaël Salaün <[email protected]>
Thu, 9 Feb 2017 23:21:36 +0000 (00:21 +0100)
committerDavid S. Miller <[email protected]>
Fri, 10 Feb 2017 20:56:06 +0000 (15:56 -0500)
Use the tools include directory instead of the installed one to allow
builds from other kernels.

Signed-off-by: Mickaël Salaün <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/bpf/Makefile

index 769a6cb42b4b7a4e7777de976188b981343de028..c470c7301636caed1fc2416a5c6219926a5d3dd9 100644 (file)
@@ -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