Skip to content

tools: bpf: standardize make

Jiri Benc netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tools: bpftool: silence 'missing initializer' warningstools/bpf/bpftool/Makefile+1 -12 replies
2/7tools: bpf: respect output directory during buildtools/bpf/Makefile+22 -160 replies
3/7tools: bpf: consistent make bpf_installtools/bpf/Makefile+6 -40 replies
4/7tools: bpf: make install should build firsttools/bpf/Makefile+4 -20 replies
5/7tools: bpf: call descend in Makefiletools/bpf/Makefile+3 -30 replies
6/7tools: bpf: respect quiet/verbose buildtools/bpf/Makefile+27 -110 replies
7/7tools: bpf: silence make by not deleting intermediate filetools/bpf/Makefile+1 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJakub Kicinski
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/7] tools: bpf: standardize make

Currently, 'make bpf' in the tools/ directory does not provide the standard quiet output except for bpftool (which is however listed with a wrong directory). Worse, it does not respect the build output directory.

The 'make bpf_install' does not work as one would expect, either. It installs unconditionally to /usr/bin without respecting DESTDIR and prefix.

This patchset improves that behavior.

Jiri Benc (7):
tools: bpftool: silence 'missing initializer' warnings
tools: bpf: respect output directory during build
tools: bpf: consistent make bpf_install
tools: bpf: make install should build first
tools: bpf: call descend in Makefile
tools: bpf: respect quiet/verbose build
tools: bpf: silence make by not deleting intermediate file

 tools/bpf/Makefile         | 74 +++++++++++++++++++++++++++++++---------------
 tools/bpf/bpftool/Makefile |  2 +-
 2 files changed, 51 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.3.1