Re: CROSS_COMPILE issue

From: Sam Ravnborg
Date: Wed Aug 16 2006 - 14:39:54 EST


On Wed, Aug 16, 2006 at 04:40:36PM +0000, moreau francis wrote:
> 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 ?
It has been reported before but thanks for the reminder.
I will try to cook up a fix tonight.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/