projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a2df7
)
tools/resolve_btfids: Tidy HOST_OVERRIDES
author
Ian Rogers
<irogers@google.com>
Thu, 2 Feb 2023 22:42:53 +0000
(14:42 -0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Tue, 7 Feb 2023 21:48:56 +0000
(22:48 +0100)
Don't set EXTRA_CFLAGS to HOSTCFLAGS, ensure CROSS_COMPILE isn't
passed through.
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link:
https://lore.kernel.org/bpf/20230202224253.40283-1-irogers@google.com
tools/bpf/resolve_btfids/Makefile
patch
|
blob
|
history
diff --git
a/tools/bpf/resolve_btfids/Makefile
b/tools/bpf/resolve_btfids/Makefile
index
abdd68a
..
2abdd85
100644
(file)
--- a/
tools/bpf/resolve_btfids/Makefile
+++ b/
tools/bpf/resolve_btfids/Makefile
@@
-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