diff options
| author | Prashant Bhole <prashantbhole.linux@gmail.com> | 2019-06-14 02:43:18 -0400 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-14 19:14:06 -0400 |
| commit | b552d33c80a967a4f653b53243562f1bd4950e8c (patch) | |
| tree | ddebd261d113dc6ce4813c44ccc8d8b9bacd6ac0 /samples/bpf | |
| parent | aee450cbe482a8c2f6fa5b05b178ef8b8ff107ca (diff) | |
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/bpf')
| -rw-r--r-- | samples/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 9eb5d733f575..34bc7e17c994 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile | |||
| @@ -170,7 +170,7 @@ always += ibumad_kern.o | |||
| 170 | always += hbm_out_kern.o | 170 | always += hbm_out_kern.o |
| 171 | 171 | ||
| 172 | KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include | 172 | KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include |
| 173 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ | 173 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/bpf/ |
| 174 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ | 174 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ |
| 175 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include | 175 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include |
| 176 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf | 176 | KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf |
