mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
b3f1d78c67
commit56a2df7615
upstream. Making resolve_btfids to be compiled as host program so we can avoid cross compile issues as reported by Nathan. Also we no longer need HOST_OVERRIDES for BINARY target, just for 'prepare' targets. Fixes:13e07691a1
("tools/resolve_btfids: Alter how HOSTCC is forced") Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Tested-by: Nathan Chancellor <nathan@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/bpf/20230202112839.1131892-1-jolsa@kernel.org Cc: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 lines
296 B
Text
12 lines
296 B
Text
hostprogs := resolve_btfids
|
|
|
|
resolve_btfids-y += main.o
|
|
resolve_btfids-y += rbtree.o
|
|
resolve_btfids-y += zalloc.o
|
|
resolve_btfids-y += string.o
|
|
resolve_btfids-y += ctype.o
|
|
resolve_btfids-y += str_error_r.o
|
|
|
|
$(OUTPUT)%.o: ../../lib/%.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,host_cc_o_c)
|