From: Andrey Ignatov <rdna@fb.com>
Date: Fri, 25 May 2018 10:23:13 -0700
Subject: libbpf: Install btf.h with libbpf
Patch-mainline: v4.18-rc1
Git-commit: a493f5f9d8c2e87f2d1322c01e477502b3cd11c5
References: bsc#1109837
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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
tools/lib/bpf/Makefile | 1 +
1 file changed, 1 insertion(+)
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -188,6 +188,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