summaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-05-26 20:46:12 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-06-01 14:38:20 -0700
commit93581359e7aeb11358018f2e3a737776d1e899ae (patch)
tree46e161c4f60ac912ad4b0880b9f610d587a80cd2 /tools/lib
parent272d51af32890632134845ddf35318c11da20c7b (diff)
libbpf: Install headers as part of make install
Current 'make install' results in only pkg-config and library binaries being installed. For consistency also install headers as part of "make install" Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200526174612.5447-1-nborisov@suse.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index aee7f1a83c77..d02c4d910aad 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -264,7 +264,7 @@ install_pkgconfig: $(PC_FILE)
$(call QUIET_INSTALL, $(PC_FILE)) \
$(call do_install,$(PC_FILE),$(libdir_SQ)/pkgconfig,644)
-install: install_lib install_pkgconfig
+install: install_lib install_pkgconfig install_headers
### Cleaning rules