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)
commitca4db6389d611eee2eb7c1dfe710b62d8ea06772
tree1521fac193ec9ce8e7feeb7218c501baa2fba784
parentec23eb705620234421fd48fc2382490fcfbafc37
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