OSDN Git Service

selftests/bpf: Include build flavors for install target
authorBjörn Töpel <bjorn@rivosinc.com>
Thu, 31 Aug 2023 16:29:54 +0000 (18:29 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 31 Aug 2023 20:01:53 +0000 (22:01 +0200)
commitbe8e754cbfac698d6304bb8382c8d18ac74424d3
tree9eb9a5a36949a2dff8f4babf4e81d26fac459444
parent6a86b5b5cd76d2734304a0173f5f01aa8aa2025e
selftests/bpf: Include build flavors for install target

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@rivosinc.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230831162954.111485-1-bjorn@kernel.org
tools/testing/selftests/bpf/Makefile