[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQLYOcPcF5CvAb=pA_6EjCRT4hjEE1penBHedOEi-ZU5Tg@mail.gmail.com>
Date: Tue, 26 Mar 2019 13:12:37 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Luca Boccassi <luca.boccassi@...il.com>
Cc: Network Development <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH bpf-next v7] tools/bpf: generate pkg-config file for libbpf
On Thu, Mar 21, 2019 at 4:09 PM <luca.boccassi@...il.com> wrote:
>
> From: Luca Boccassi <bluca@...ian.org>
>
> Generate a libbpf.pc file at build time so that users can rely
> on pkg-config to find the library, its CFLAGS and LDFLAGS.
>
> Signed-off-by: Luca Boccassi <bluca@...ian.org>
> Acked-by: Andrey Ignatov <rdna@...com>
> ---
> v2: use QUIET_GEN instead of QUIET_LINK to generate pc file,
> save kernel version in its own variable instead of calling
> make inline
> v3: use LIBBPF_VERSION instead of kernel_version
> v4: use -I${prefix}/include rather than -I${prefix}/include/bpf
> in the Cflags field as requested, to keep consistency with
> how the headers are used now and to avoid a dependency from
> the pc file to the headers installation
> v5: add acked-by, add SPDX line to pc file
> v6: remove URL field, generalize Description field
> v7: fix build with make OUTPUT=/foo/bar/ by prefixing $(OUTPUT)
> to the pc file variable
Applied. Thanks
Powered by blists - more mailing lists