diff options
| author | Andrii Nakryiko <[email protected]> | 2020-03-04 10:43:36 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-04 12:00:05 -0800 |
| commit | cc6fa771024ffdb428bdf25a94309cf21e8ef1b9 (patch) | |
| tree | 24bb4d39df3788a10cae4429b58ecdff650c199a /tools/perf/scripts/python | |
| parent | af73d78bd384aa9b8789aa6e7ddbb165f971276f (diff) | |
selftests/bpf: Support out-of-tree vmlinux builds for VMLINUX_BTF
Add detection of out-of-tree built vmlinux image for the purpose of
VMLINUX_BTF detection. According to Documentation/kbuild/kbuild.rst, O takes
precedence over KBUILD_OUTPUT.
Also ensure ~/path/to/build/dir also works by relying on wildcard's resolution
first, but then applying $(abspath) at the end to also handle
O=../../whatever cases.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions