summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2018-05-25 10:23:13 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-28 00:25:32 +0200
commita493f5f9d8c2e87f2d1322c01e477502b3cd11c5 (patch)
tree3e963f8e1d061a85f266747440a5e7701cf85400 /tools/lib
parent5b79c2af667c0e2684f2a6dbf6439074b78f490c (diff)
downloadlinux-a493f5f9d8c2e87f2d1322c01e477502b3cd11c5.tar.gz
linux-a493f5f9d8c2e87f2d1322c01e477502b3cd11c5.tar.bz2
linux-a493f5f9d8c2e87f2d1322c01e477502b3cd11c5.zip
libbpf: Install btf.h with libbpf
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>
Diffstat (limited to 'tools/lib')
-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 f3fab4af4260..5390e7725e43 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -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