[coreboot] [PATCH] cross compiler

Myles Watson mylesgw at gmail.com
Fri Oct 30 14:52:37 CET 2009


On Mon, Oct 26, 2009 at 1:05 PM, Myles Watson <mylesgw at gmail.com> wrote:

>
>
> On Mon, Oct 26, 2009 at 12:56 PM, Stefan Reinauer <stepan at coresystems.de>wrote:
>
>> Myles Watson wrote:
>> > I'm worried about tool chain problems, so I wanted to be able to build
>> > with a cross compiler.  This patch adds that functionality to Kconfig.
>> >
>> That functionality is already there... see util/xcompile.
>>
> So what's the preferred way to invoke it?
>
> I built the cross compiler in util/crossgcc, and wanted to set the
> CONFIG_CROSS_COMPILER variable in Kconfig.  Should we just get rid of that
> and use:
>
> make CC=util/crossgcc/xgcc/bin/i386-elf-gcc
>
Ping.

from targets/kontron/986lcd-m/Config-abuild.lb

option CC="CROSSCC"
option CONFIG_CROSS_COMPILE="CROSS_PREFIX"
option HOSTCC="CROSS_HOSTCC"


I see CONFIG_CROSS_COMPILE being set in newconfig, but I don't know how to
use it in Kconfig.

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091030/0b77d91f/attachment.html>


More information about the coreboot mailing list