[coreboot] What's the purpose of xcompile?

Hamo hamo.by at gmail.com
Mon May 9 09:34:09 CEST 2011


On Mon, May 9, 2011 at 2:04 PM, Peter Stuge <peter at stuge.se> wrote:
> Hamo wrote:
>> There are a few gcc toolchain prefixes such as arm-elf, armel-elf,
>> arm-none-eabi, etc. It is a little difficult hard coding all the
>> prefixes in this script. And Such as U-boot and Kernel, both allow
>> their users set their own toolchain prefix.
>
> I think it would be OK to require one specific prefix. I would
> suggest arm-none-eabi because it is correct, very widely used and
> also because it is what CodeSourcery G++ Lite uses.
>
If so, Could I use the idea of Patrick, create variables CC_$(ARCH),
AS_$(ARCH), LD_$(ARCH) and etc. in script xcompile and assign them to
$(CC), $(AS), $(LD) and so on when the user has selected their ARCH?
>
> //Peter




More information about the coreboot mailing list