]> git.baikalelectronics.ru Git - kernel.git/commitdiff
libbpf: Install headers as part of make install
authorNikolay Borisov <nborisov@suse.com>
Tue, 26 May 2020 17:46:12 +0000 (20:46 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:38:20 +0000 (14:38 -0700)
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>
tools/lib/bpf/Makefile

index aee7f1a83c7755cfd4966cd190350b035bb789e4..d02c4d910aadb2ce08c210ec507fe10968eb48a9 100644 (file)
@@ -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