Re: [PATCH bpf v1] tools/bpftool: support passing BPFTOOL_VERSION to make

2020-09-18 Thread Daniel Borkmann
On 9/17/20 1:58 PM, Tony Ambardar wrote: This change facilitates out-of-tree builds, packaging, and versioning for test and debug purposes. Defining BPFTOOL_VERSION allows self-contained builds within the tools tree, since it avoids use of the 'kernelversion' target in the top-level makefile, whi

Re: [PATCH bpf v1] tools/bpftool: support passing BPFTOOL_VERSION to make

2020-09-17 Thread Tony Ambardar
On Thu, 17 Sep 2020 at 16:27, Song Liu wrote: > > On Thu, Sep 17, 2020 at 7:58 AM Quentin Monnet wrote: > > > > On 17/09/2020 12:58, Tony Ambardar wrote: > > > This change facilitates out-of-tree builds, packaging, and versioning for > > > test and debug purposes. Defining BPFTOOL_VERSION allows

Re: [PATCH bpf v1] tools/bpftool: support passing BPFTOOL_VERSION to make

2020-09-17 Thread Song Liu
On Thu, Sep 17, 2020 at 7:58 AM Quentin Monnet wrote: > > On 17/09/2020 12:58, Tony Ambardar wrote: > > This change facilitates out-of-tree builds, packaging, and versioning for > > test and debug purposes. Defining BPFTOOL_VERSION allows self-contained > > builds within the tools tree, since it a

Re: [PATCH bpf v1] tools/bpftool: support passing BPFTOOL_VERSION to make

2020-09-17 Thread Quentin Monnet
On 17/09/2020 12:58, Tony Ambardar wrote: > This change facilitates out-of-tree builds, packaging, and versioning for > test and debug purposes. Defining BPFTOOL_VERSION allows self-contained > builds within the tools tree, since it avoids use of the 'kernelversion' > target in the top-level makefi