Re: [PATCH] libbpf: Install headers as part of make install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 26, 2020 at 10:49 AM Nikolay Borisov <nborisov@xxxxxxxx> wrote:
>
> 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@xxxxxxxx>
> ---

Github Makefile already does that, curiously :)

Acked-by: Andrii Nakryiko <andriin@xxxxxx>


>  tools/lib/bpf/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
>
> --
> 2.17.1
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux