libbpf: Install btf.h with libbpf
authorAndrey Ignatov <rdna@fb.com>
Fri, 25 May 2018 17:23:13 +0000 (10:23 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 27 May 2018 22:25:32 +0000 (00:25 +0200)
install_headers target should contain all headers that are part of
libbpf. Add missing btf.h

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/Makefile

index f3fab4af4260e92e1f5aadcf65560a045f710f0a..5390e7725e4306408bbe5078652508f09263b0df 100644 (file)
@@ -189,6 +189,7 @@ install_headers:
        $(call QUIET_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);
 
 install: install_lib