mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 23:04:54 +01:00
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 <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
13 lines
296 B
Python
13 lines
296 B
Python
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)
|