Netdev List
 help / color / mirror / Atom feed
* [PATCH bpf-next] libbpf: Install btf.h with libbpf
@ 2018-05-25 17:23 Andrey Ignatov
  2018-05-25 17:33 ` Martin KaFai Lau
  2018-05-27 22:35 ` Daniel Borkmann
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Ignatov @ 2018-05-25 17:23 UTC (permalink / raw)
  To: netdev; +Cc: Andrey Ignatov, kafai, ast, daniel, kernel-team

install_headers target should contain all headers that are part of
libbpf. Add missing btf.h

Signed-off-by: Andrey Ignatov <rdna@fb.com>
---
 tools/lib/bpf/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index f3fab4a..5390e77 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
 
-- 
2.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-27 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-25 17:23 [PATCH bpf-next] libbpf: Install btf.h with libbpf Andrey Ignatov
2018-05-25 17:33 ` Martin KaFai Lau
2018-05-25 21:57   ` Song Liu
2018-05-27 22:35 ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox