diff mbox series

[bpf-next] libbpf: Install btf.h with libbpf

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

Commit Message

Andrey Ignatov May 25, 2018, 5:23 p.m. UTC
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(+)

Comments

Martin KaFai Lau May 25, 2018, 5:33 p.m. UTC | #1
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>
Song Liu May 25, 2018, 9:57 p.m. UTC | #2
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>
Daniel Borkmann May 27, 2018, 10:35 p.m. UTC | #3
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 mbox series

Patch

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