OSDN Git Service

tools resolve_btfids: Always force HOSTARCH
authorJiri Olsa <jolsa@kernel.org>
Wed, 23 Sep 2020 18:57:35 +0000 (20:57 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 23 Sep 2020 19:43:04 +0000 (12:43 -0700)
commitdc3652d3f0d5479768ec8eb7f7aabbba6ed75d95
tree996bb4a83af371d31a393d18a9a877b1ac40aff9
parent017dab341ee75c0d3675b9b3d28be28d38e6defc
tools resolve_btfids: Always force HOSTARCH

Seth reported problem with cross builds, that fail
on resolve_btfids build, because we are trying to
build it on cross build arch.

Fixing this by always forcing the host arch.

Reported-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200923185735.3048198-2-jolsa@kernel.org
tools/bpf/resolve_btfids/Makefile