selftests/bpf: Improve bpftool changes detection
authorAndrii Nakryiko <andriin@fb.com>
Fri, 24 Jan 2020 05:41:48 +0000 (21:41 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 24 Jan 2020 10:09:21 +0000 (11:09 +0100)
commit03506297d205e5fa25b5ead0f6338b5a4a996a93
tree6e046594cf57e776c68bd63173b0e790bc2bb9dc
parent1a6fa10640d97e16d4184fa1c24aa8c3337d4653
selftests/bpf: Improve bpftool changes detection

Detect when bpftool source code changes and trigger rebuild within
selftests/bpf Makefile. Also fix few small formatting problems.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20200124054148.2455060-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile