summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-05-26 19:46:12 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-06-01 23:38:20 +0200
commit93581359e7aeb11358018f2e3a737776d1e899ae (patch)
tree46e161c4f60ac912ad4b0880b9f610d587a80cd2 /tools/lib
parentlibbpf: Add API to consume the perf ring buffer content (diff)
downloadlinux-93581359e7aeb11358018f2e3a737776d1e899ae.tar.xz
linux-93581359e7aeb11358018f2e3a737776d1e899ae.zip
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