Re: [PATCH 14/14] klp-build: Support cross-compilation
From: Song Liu
Date: Tue Mar 17 2026 - 14:58:41 EST
On Tue, Mar 17, 2026 at 11:53 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
[...]
> >
> > Do we need ARCH when CROSS_COMPILE is set? I was
> > under the impression that CROSS_COMPILE doesn't require
> > ARCH.
>
> If CROSS_COMPILE is used without ARCH, it will just try to use the host
> arch. I'm not sure if that's considered cross-compiling? I suppose it
> should use the CROSS_COMPILE version of objcopy in that case? Though in
> practice it probably doesn't matter.
>
> I guess the original version of the function is probably fine and we
> don't need to complicate matters.
Agreed that the original version works fine. Thanks for bearing with my
nitpick on this.
Song