summaryrefslogtreecommitdiff
path: root/tools/bpf
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-07 23:41:49 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-10-07 23:47:04 +0300
commitdcb5f40054b1c64ed608a7eecdcf67044e189e30 (patch)
treeec024e9439b71c7786de6cfccd5c186fca25d189 /tools/bpf
parent05949f63055fcf53947886ddb8e23c8a5d41bd80 (diff)
downloadlinux-dcb5f40054b1c64ed608a7eecdcf67044e189e30.tar.xz
selftests/bpf: Fix dependency ordering for attach_probe test
Current Makefile dependency chain is not strict enough and allows test_attach_probe.o to be built before test_progs's prog_test/attach_probe.o is built, which leads to assembler complaining about missing included binary. This patch is a minimal fix to fix this issue by enforcing that test_attach_probe.o (BPF object file) is built before prog_tests/attach_probe.c is attempted to be compiled. Fixes: 928ca75e59d7 ("selftests/bpf: switch tests to new bpf_object__open_{file, mem}() APIs") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191007204149.1575990-1-andriin@fb.com
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions