libbpf: Install btf.h with libbpf
Subsystems (4)
PATCH 1/1 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 <[email protected]>
--- tools/lib/bpf/Makefile | 1 + 1 file changed, 1 insertion(+)
tools/lib/bpf/Makefile +1 -0
@@ -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
Signature · 1 line
2.9.5
Quoted 4 lines · Andrey Ignatov
install_headerstarget should contain all headers that are part of libbpf. Add missingbtf.hSigned-off-by Andrey Ignatov <[email protected]>
Acked-by Martin KaFai Lau <[email protected]>
Song Liu
Acked-byQuoted 6 lines · Martin KaFai Lau
Quoted 4 lines · Andrey Ignatov
install_headerstarget should contain all headers that are part of libbpf. Add missingbtf.hSigned-off-by Andrey Ignatov <[email protected]>Acked-by Martin KaFai Lau <[email protected]>
Acked-by Song Liu <[email protected]>
Quoted 4 lines · Andrey Ignatov
install_headerstarget should contain all headers that are part of libbpf. Add missingbtf.hSigned-off-by Andrey Ignatov <[email protected]>
Applied to bpf-next, thanks Andrey!