Re: [PATCH v3 bpf-next 1/2] tools/bpftool: use version from the kernel source tree

From: Daniel Borkmann
Date: Fri Dec 29 2017 - 19:13:18 EST


On 12/27/2017 08:16 PM, Roman Gushchin wrote:
> Bpftool determines it's own version based on the kernel
> version, which is picked from the linux/version.h header.
>
> It's strange to use the version of the installed kernel
> headers, and makes much more sense to use the version
> of the actual source tree, where bpftool sources are.
>
> Fix this by building kernelversion target and use
> the resulting string as bpftool version.

Series applied to bpf-next, thanks everyone!