Re: [PATCH bpf v2] selftests/bpf: Include build flavors for install target

From: Daniel Borkmann
Date: Thu Aug 31 2023 - 16:36:31 EST


On 8/31/23 6:29 PM, Björn Töpel wrote:
From: Björn Töpel <bjorn@xxxxxxxxxxxx>

When using the "install" or targets depending on install,
e.g. "gen_tar", the BPF machine flavors weren't included.

A command like:
| make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- O=/workspace/kbuild \
| HOSTCC=gcc FORMAT= SKIP_TARGETS="arm64 ia64 powerpc sparc64 x86 sgx" \
| -C tools/testing/selftests gen_tar
would not include bpf/no_alu32, bpf/cpuv4, or bpf/bpf-gcc.

Include the BPF machine flavors for "install" make target.

Signed-off-by: Björn Töpel <bjorn@xxxxxxxxxxxx>

Lgtm, applied, thanks!