OSDN Git Service

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 f3fab4a..5390e77 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