]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Allow substituting custom vmlinux.h for selftests build
authorAndrii Nakryiko <andriin@fb.com>
Tue, 30 Jun 2020 00:47:59 +0000 (17:47 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 30 Jun 2020 22:50:11 +0000 (15:50 -0700)
commit64b060bf736e3240d6696d1653395237484301cd
tree1521fac193ec9ce8e7feeb7218c501baa2fba784
parentd0884f7f61877f2c58c4d5d025cc59576a70f870
selftests/bpf: Allow substituting custom vmlinux.h for selftests build

Similarly to bpftool Makefile, allow to specify custom location of vmlinux.h
to be used during the build. This allows simpler testing setups with
checked-in pre-generated vmlinux.h.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200630004759.521530-2-andriin@fb.com
tools/testing/selftests/bpf/Makefile