CROSS_COMPILE issue

From: moreau francis
Date: Wed Aug 16 2006 - 12:38:04 EST


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



-
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/