Re: [PATCH 0/2] infer CROSS_COMPILE from ARCH for LLVM=1 LLVM_IAS=1
From: Christoph Hellwig
Date: Thu Jul 08 2021 - 01:49:55 EST
On Wed, Jul 07, 2021 at 03:43:08PM -0700, Nick Desaulniers wrote:
> We get constant feedback that the command line invocation of make is too
> long. CROSS_COMPILE is helpful when a toolchain has a prefix of the
> target triple, or is an absolute path outside of $PATH, but it's mostly
> redundant for a given ARCH.
> Instead, let's infer it from ARCH, and move some flag handling into a
> new file included from the top level Makefile.
Why only for LLVM? I really hate the mess we currently have with
ARCH and CROSS_COMPILE. Being able to set both in .config (and maybe
even inferring CROSS_COMPILE where possible) would make my life so