summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorRoman Gushchin2017-12-27 20:16:28 +0100
committerDaniel Borkmann2017-12-30 01:07:36 +0100
commit4bfe3bd3cc351efd1d51b3258b060e9445533888 (patch)
treeab2beb6bab33de56eb5c407b864cfb783b0a1ca5 /.gitattributes
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-qcow2-linux-4bfe3bd3cc351efd1d51b3258b060e9445533888.tar.gz
kernel-qcow2-linux-4bfe3bd3cc351efd1d51b3258b060e9445533888.tar.xz
kernel-qcow2-linux-4bfe3bd3cc351efd1d51b3258b060e9445533888.zip
tools/bpftool: use version from the kernel source tree
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. Example: before: $ bpftool version bpftool v4.14.6 after: $ bpftool version bpftool v4.15.0-rc3 $bpftool version --json {"version":"4.15.0-rc3"} Signed-off-by: Roman Gushchin <guro@fb.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions