public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CROSS_COMPILE issue
@ 2006-08-16 16:40 moreau francis
  2006-08-16 18:42 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: moreau francis @ 2006-08-16 16:40 UTC (permalink / raw)
  To: sam; +Cc: linux-kernel

Hi

I met an issue when compiling kernel 2.6.18-rc4. I 
cross compile the kernel for a MIPS target on a PC.
MIPS architecture assigns CROSS_COMPILE in
its arch/mips/Makefile but it is not included by the 
main Makefile from the begining. So one of the
consequence is that CC variable is not correctly
set until arch's Makefile is included. It's set to "gcc"
since CROSS_COMPILE is still not defined instead
of "mips-linux-gcc". During this time CC variable is 
used to setup CFLAGS for example.

is it something known ?

thanks

Francis




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-16 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16 16:40 CROSS_COMPILE issue moreau francis
2006-08-16 18:42 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox