diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-05 02:47:57 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-07 01:37:41 +0200 |
commit | 6bcaf41f9613278cd5897fc80ab93033bda8efaa (patch) | |
tree | ad2b612cea54be484325839b8e0451c712a8e68b /scripts/tools-support-relr.sh | |
parent | net: hns3: fix spelling mistake "could'nt" -> "couldn't" (diff) | |
download | linux-6bcaf41f9613278cd5897fc80ab93033bda8efaa.tar.xz linux-6bcaf41f9613278cd5897fc80ab93033bda8efaa.zip |
selftests/bpf: Prevent runqslower from racing on building bpftool
runqslower's Makefile is building/installing bpftool into
$(OUTPUT)/sbin/bpftool, which coincides with $(DEFAULT_BPFTOOL). In practice
this means that often when building selftests from scratch (after `make
clean`), selftests are racing with runqslower to simultaneously build bpftool
and one of the two processes fail due to file being busy. Prevent this race by
explicitly order-depending on $(BPFTOOL_DEFAULT).
Fixes: a2c9652f751e ("selftests: Refactor build to remove tools/lib/bpf from include path")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200805004757.2960750-1-andriin@fb.com
Diffstat (limited to 'scripts/tools-support-relr.sh')
0 files changed, 0 insertions, 0 deletions