Skip to content

Commit a493f5f

Browse files
rdnaborkmann
authored andcommitted
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>
1 parent 5b79c2a commit a493f5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/lib/bpf/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ install_headers:
189189
$(call QUIET_INSTALL, headers) \
190190
$(call do_install,bpf.h,$(prefix)/include/bpf,644); \
191191
$(call do_install,libbpf.h,$(prefix)/include/bpf,644);
192+
$(call do_install,btf.h,$(prefix)/include/bpf,644);
192193

193194
install: install_lib
194195

0 commit comments

Comments
 (0)