Message ID | 20180525172313.1043567-1-rdna@fb.com |
---|---|
State | Accepted, archived |
Delegated to: | BPF Maintainers |
Headers | show |
Series | [bpf-next] libbpf: Install btf.h with libbpf | expand |
On Fri, May 25, 2018 at 10:23:13AM -0700, Andrey Ignatov wrote: > 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>
On Fri, May 25, 2018 at 10:33 AM, Martin KaFai Lau <kafai@fb.com> wrote: > On Fri, May 25, 2018 at 10:23:13AM -0700, Andrey Ignatov wrote: >> 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>
On 05/25/2018 07:23 PM, Andrey Ignatov wrote: > install_headers target should contain all headers that are part of > libbpf. Add missing btf.h > > Signed-off-by: Andrey Ignatov <rdna@fb.com> Applied to bpf-next, thanks Andrey!
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
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(+)