]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpftool: Support passing BPFTOOL_VERSION to make
authorTony Ambardar <tony.ambardar@gmail.com>
Thu, 17 Sep 2020 11:58:33 +0000 (04:58 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 Sep 2020 23:06:05 +0000 (01:06 +0200)
commit7cd62fc1ae67046dab255d96fcdac35aec286162
treeb185d21fd5c4d7d37551a5f0b33a27f0e1f2ed89
parentdedf51134337211d608c6a965e38d8deb2b634dc
tools/bpftool: Support passing BPFTOOL_VERSION to make

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, which would otherwise pull in several
other includes from outside the tools tree.

Signed-off-by: Tony Ambardar <Tony.Ambardar@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200917115833.1235518-1-Tony.Ambardar@gmail.com
tools/bpf/bpftool/Makefile