Thread (29 messages) 29 messages, 7 authors, 2021-07-28

Re: [PATCH v2 2/2] Makefile: infer CROSS_COMPILE from SRCARCH for LLVM=1 LLVM_IAS=1

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-07-21 04:47:19
Also in: lkml

On Tue, Jul 20, 2021 at 10:42:57AM -0700, Linus Torvalds wrote:
(It has annoyed me for years that if you want to cross-compile, you
first have to do "make ARCH=xyz config" and then remember to do "make
ARCH=xyz" for the build too, but I cross-compile so seldom that I've
never really cared).
Same here.  I'd so much love to just have ARCH an CROSS_COMPILE in my
.config for cross-builds.  Oterwise I keep forgetting them, or keep
forgetting to unset CROSS_COMPILE and will just waist a lot of time
either way.

The fact the the .config files even mention what architecture they are
for in a comment but don't make use of that information is just hostile
to users.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help