selftests/bpf: Explicitly pass RESOLVE_BTFIDS to sub-make
authorBjörn Töpel <bjorn@rivosinc.com>
Tue, 15 Nov 2022 18:20:50 +0000 (19:20 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 17 Nov 2022 23:14:34 +0000 (15:14 -0800)
commitc4525f05ca3ca2795fc626252fb1c1cbb310111b
tree75fedd2cf523603489d641b52aff1a66b5386cfb
parent3af43ba4c6019b29c048921eb8147eb010165329
selftests/bpf: Explicitly pass RESOLVE_BTFIDS to sub-make

When cross-compiling selftests/bpf, the resolve_btfids binary end up
in a different directory, than the regular resolve_btfids
builds. Populate RESOLVE_BTFIDS for sub-make, so it can find the
binary.

Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20221115182051.582962-1-bjorn@kernel.org
tools/testing/selftests/bpf/Makefile