diff options
| author | Ian Rogers <[email protected]> | 2023-02-02 14:42:53 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-02-07 22:48:56 +0100 |
| commit | e0975ab92f2406fd3e12834f62dc57cb10404f85 (patch) | |
| tree | 9047e7435c61d6a27bdcd6076a015eb35555826d | |
| parent | 56a2df7615fa050cc67b89245b2a482849077939 (diff) | |
tools/resolve_btfids: Tidy HOST_OVERRIDES
Don't set EXTRA_CFLAGS to HOSTCFLAGS, ensure CROSS_COMPILE isn't
passed through.
Signed-off-by: Ian Rogers <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
| -rw-r--r-- | tools/bpf/resolve_btfids/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bpf/resolve_btfids/Makefile b/tools/bpf/resolve_btfids/Makefile index abdd68ac08f4..2abdd85b4a08 100644 --- 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 |