summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2019-05-02 20:33:38 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-05-05 09:06:59 +0200
commit7080da8909844602b650c8959ecd7814d2829ea5 (patch)
treeb49c383a9456d6062cdf34ed1f1ca67b86826287
parenttools/bpf: fix perf build error with uClibc (seen on ARC) (diff)
downloadlinux-7080da8909844602b650c8959ecd7814d2829ea5.tar.xz
linux-7080da8909844602b650c8959ecd7814d2829ea5.zip
libbpf: add libbpf_util.h to header install.
The libbpf_util.h is used by xsk.h, so add it to the install headers. Reported-by: Ben Pfaff <blp@ovn.org> Signed-off-by: William Tu <u9012063@gmail.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
-rw-r--r--tools/lib/bpf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index c6c06bc6683c..f91639bf5650 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -230,6 +230,7 @@ install_headers:
$(call do_install,bpf.h,$(prefix)/include/bpf,644); \
$(call do_install,libbpf.h,$(prefix)/include/bpf,644); \
$(call do_install,btf.h,$(prefix)/include/bpf,644); \
+ $(call do_install,libbpf_util.h,$(prefix)/include/bpf,644); \
$(call do_install,xsk.h,$(prefix)/include/bpf,644);
install_pkgconfig: $(PC_FILE)