mbox series

[bpf-next,v3,0/7] tools/bpftool: Some build fixes

Message ID 20201110164310.2600671-1-jean-philippe@linaro.org (mailing list archive)
Headers show
Series tools/bpftool: Some build fixes | expand

Message

Jean-Philippe Brucker Nov. 10, 2020, 4:43 p.m. UTC
A few fixes for cross and out-of-tree build of bpftool and runqslower.
These changes allow to build for different target architectures, using
the same source tree.

Since [v2], I addressed Andrii's comments on patches 3 and 5, and added
patch 7 which fixes a build slowdown.

[v2] https://lore.kernel.org/bpf/20201109110929.1223538-1-jean-philippe@linaro.org/

Jean-Philippe Brucker (7):
  tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
  tools/bpftool: Force clean of out-of-tree build
  tools/bpftool: Fix cross-build
  tools/runqslower: Use Makefile.include
  tools/runqslower: Enable out-of-tree build
  tools/runqslower: Build bpftool using HOSTCC
  tools/bpftool: Fix build slowdown

 tools/bpf/bpftool/Makefile        | 44 ++++++++++++++++++-------
 tools/bpf/resolve_btfids/Makefile |  9 -----
 tools/bpf/runqslower/Makefile     | 55 +++++++++++++++----------------
 tools/build/Makefile              |  4 ---
 tools/objtool/Makefile            |  9 -----
 tools/perf/Makefile.perf          |  4 ---
 tools/power/acpi/Makefile.config  |  1 -
 tools/scripts/Makefile.include    | 10 ++++++
 8 files changed, 70 insertions(+), 66 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 11, 2020, 8:40 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Tue, 10 Nov 2020 17:43:04 +0100 you wrote:
> A few fixes for cross and out-of-tree build of bpftool and runqslower.
> These changes allow to build for different target architectures, using
> the same source tree.
> 
> Since [v2], I addressed Andrii's comments on patches 3 and 5, and added
> patch 7 which fixes a build slowdown.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/7] tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
    https://git.kernel.org/bpf/bpf-next/c/c8a950d0d3b9
  - [bpf-next,v3,2/7] tools/bpftool: Force clean of out-of-tree build
    https://git.kernel.org/bpf/bpf-next/c/9e8929fdbb9c
  - [bpf-next,v3,3/7] tools/bpftool: Fix cross-build
    https://git.kernel.org/bpf/bpf-next/c/8859b0da5aac
  - [bpf-next,v3,4/7] tools/runqslower: Use Makefile.include
    https://git.kernel.org/bpf/bpf-next/c/3290996e7133
  - [bpf-next,v3,5/7] tools/runqslower: Enable out-of-tree build
    https://git.kernel.org/bpf/bpf-next/c/85e59344d079
  - [bpf-next,v3,6/7] tools/runqslower: Build bpftool using HOSTCC
    https://git.kernel.org/bpf/bpf-next/c/2d9393fefb50
  - [bpf-next,v3,7/7] tools/bpftool: Fix build slowdown
    https://git.kernel.org/bpf/bpf-next/c/0639e5e97ad9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html