diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-07 23:41:49 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-07 23:47:04 +0300 |
commit | dcb5f40054b1c64ed608a7eecdcf67044e189e30 (patch) | |
tree | ec024e9439b71c7786de6cfccd5c186fca25d189 /tools/bpf | |
parent | 05949f63055fcf53947886ddb8e23c8a5d41bd80 (diff) | |
download | linux-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