]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add simple per-test targets to Makefile
authorAndrii Nakryiko <andriin@fb.com>
Wed, 16 Oct 2019 06:00:48 +0000 (23:00 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 17 Oct 2019 19:15:08 +0000 (12:15 -0700)
commitb4426736570044af87c27584aeb23ced66ae9faa
tree91cec55568b032914cd66fd2acbbd9915947d63e
parent745d631b98cbf304fe9a86b70aa56af575dbe115
selftests/bpf: Add simple per-test targets to Makefile

Currently it's impossible to do `make test_progs` and have only
test_progs be built, because all the binary targets are defined in terms
of $(OUTPUT)/<binary>, and $(OUTPUT) is absolute path to current
directory (or whatever gets overridden to by user).

This patch adds simple re-directing targets for all test targets making
it possible to do simple and nice `make test_progs` (and any other
target).

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191016060051.2024182-5-andriin@fb.com
tools/testing/selftests/bpf/Makefile