On Mon, Oct 26, 2009 at 1:05 PM, Myles Watson <[email protected]> wrote:

>
>
> On Mon, Oct 26, 2009 at 12:56 PM, Stefan Reinauer 
> <[email protected]>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
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to