aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorPrashant Bhole <prashantbhole.linux@gmail.com>2019-06-14 06:43:18 (GMT)
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-14 23:14:06 (GMT)
commitb552d33c80a967a4f653b53243562f1bd4950e8c (patch)
treeddebd261d113dc6ce4813c44ccc8d8b9bacd6ac0 /samples
parentaee450cbe482a8c2f6fa5b05b178ef8b8ff107ca (diff)
downloadkernel_replicant_linux-b552d33c80a967a4f653b53243562f1bd4950e8c.zip
kernel_replicant_linux-b552d33c80a967a4f653b53243562f1bd4950e8c.tar.gz
kernel_replicant_linux-b552d33c80a967a4f653b53243562f1bd4950e8c.tar.bz2
samples/bpf: fix include path in Makefile
Recent commit included libbpf.h in selftests/bpf/bpf_util.h. Since some samples use bpf_util.h and samples/bpf/Makefile doesn't have libbpf.h path included, build was failing. Let's add the path in samples/bpf/Makefile. Signed-off-by: Prashant Bhole <prashantbhole.linux@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 9eb5d73..34bc7e1 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -170,7 +170,7 @@ always += ibumad_kern.o
always += hbm_out_kern.o
KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include
-KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/
+KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/bpf/
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include
KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf