diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-07 13:41:49 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-07 13:47:04 -0700 |
commit | dcb5f40054b1c64ed608a7eecdcf67044e189e30 (patch) | |
tree | ec024e9439b71c7786de6cfccd5c186fca25d189 /kernel/trace | |
parent | 05949f63055fcf53947886ddb8e23c8a5d41bd80 (diff) | |
download | linux-dcb5f40054b1c64ed608a7eecdcf67044e189e30.tar.bz2 |
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 'kernel/trace')
0 files changed, 0 insertions, 0 deletions