libbpf: add libbpf_util.h to header install.
authorWilliam Tu <u9012063@gmail.com>
Thu, 2 May 2019 18:33:38 +0000 (11:33 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 5 May 2019 07:06:59 +0000 (00:06 -0700)
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>
tools/lib/bpf/Makefile

index c6c06bc6683cbd783bad40d98abdea1436b5a285..f91639bf5650c18cd36daef9650625758d478f39 100644 (file)
@@ -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)