Skip to content

Fix make install target for BPF selftests

Björn Töpel bpf linux-kselftest lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v32 patches 2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests/bpf: Remove incorrect object pathtools/testing/selftests/bpf/Makefile+1 -20 replies
2/3selftests/bpf: Make install target copy test_progs extra filestools/testing/selftests/bpf/Makefile+18 -112 replies
3/3selftests/bpf: Make install target copy bpftooltools/testing/selftests/bpf/Makefile+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

From: Björn Töpel <[email protected]>

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

Signature · 1 line
2.40.1