tools/resolve_btfids: Tidy HOST_OVERRIDES
PATCH 1/1 tools/resolve_btfids: Tidy HOST_OVERRIDES
Don't set EXTRA_CFLAGS to HOSTCFLAGS, ensure CROSS_COMPILE isn't passed through.
This patch is based on top of:
https://lore.kernel.org/bpf/[email protected]/
Signed-off-by Ian Rogers <[email protected]>
--- tools/bpf/resolve_btfids/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/bpf/resolve_btfids/Makefile +2 -2
@@ -17,9 +17,9 @@ else MAKEFLAGS=--no-print-directory endif -# always use the host compiler +# Overrides for the prepare step libraries. HOST_OVERRIDES := AR="$(HOSTAR)" CC="$(HOSTCC)" LD="$(HOSTLD)" ARCH="$(HOSTARCH)" \ - EXTRA_CFLAGS="$(HOSTCFLAGS) $(KBUILD_HOSTCFLAGS)" + CROSS_COMPILE="" RM ?= rm HOSTCC ?= gcc
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
Quoted 7 lines · Ian Rogers
Don't set
EXTRA_CFLAGSto HOSTCFLAGS, ensureCROSS_COMPILEisn't passed through.This patch is based on top of:
https://lore.kernel.org/bpf/[email protected]/Signed-off-by Ian Rogers <[email protected]>
Acked-by Jiri Olsa <[email protected]>
jirka
Quoted 23 lines
--- tools/bpf/resolve_btfids/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tools/bpf/resolve_btfids/Makefile +2
-2@@ -17,9 +17,9 @@ else MAKEFLAGS=--no-print-directory endif -# always use the host compiler +# Overrides for the prepare step libraries. HOST_OVERRIDES := AR="$(HOSTAR)" CC="$(HOSTCC)" LD="$(HOSTLD)" ARCH="$(HOSTARCH)" \ - EXTRA_CFLAGS="$(HOSTCFLAGS) $(KBUILD_HOSTCFLAGS)" + CROSS_COMPILE="" RM ?= rm HOSTCC ?= gccSignature · 1 line
2.39.1.519.gcb327c4b5f-goog
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Quoted 9 lines · On Thu, 2 Feb 2023 14:42:53 -0800 you wrote:
Don't set
EXTRA_CFLAGSto HOSTCFLAGS, ensureCROSS_COMPILEisn't passed through.This patch is based on top of:
https://lore.kernel.org/bpf/[email protected]/Signed-off-by Ian Rogers <[email protected]>[...]
Here is the summary with links:
- [v1] tools/resolve_btfids: Tidy HOST_OVERRIDES
https://git.kernel.org/bpf/bpf-next/c/e0975ab92f24
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html