diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-03-04 19:43:36 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-03-04 21:00:05 +0100 |
commit | cc6fa771024ffdb428bdf25a94309cf21e8ef1b9 (patch) | |
tree | 24bb4d39df3788a10cae4429b58ecdff650c199a /arch/x86/net | |
parent | kbuild: Remove debug info from kallsyms linking (diff) | |
download | linux-cc6fa771024ffdb428bdf25a94309cf21e8ef1b9.tar.xz linux-cc6fa771024ffdb428bdf25a94309cf21e8ef1b9.zip |
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 <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200304184336.165766-1-andriin@fb.com
Diffstat (limited to 'arch/x86/net')
0 files changed, 0 insertions, 0 deletions