mbox series

[bpf-next,v4,0/3] Fix make install target for BPF selftests

Message ID 20240129070916.1639008-1-bjorn@kernel.org (mailing list archive)
Headers show
Series Fix make install target for BPF selftests | expand

Message

Björn Töpel Jan. 29, 2024, 7:09 a.m. UTC
From: Björn Töpel <bjorn@rivosinc.com>

Here's the fourth try. The "make install" target for the BPF selftests
are missing a bunch of files, which makes the BPF machine flavor fail
(e.g. cpuv4).

This series aims to fix that, but explicitly installing bpftool, all
the BPF programs, and the utilities defined by the TRUNNER_EXTRA_PROGS
for test_progs.

The fact that this series even have a changelog says a lot, but for
those who care:
v4: Added bpftool
v3: Do not use hardcoded file names (Andrii)
v2: Added btf_dump_test_case files

Björn Töpel (3):
  selftests/bpf: Remove incorrect object path
  selftests/bpf: Make install target copy test_progs extra files
  selftests/bpf: Make install target copy bpftool

 tools/testing/selftests/bpf/Makefile | 31 +++++++++++++++++-----------
 1 file changed, 19 insertions(+), 12 deletions(-)


base-commit: beb53f32698ff9cd0ca442c1f856ea0ecfb82be3