[coreboot] What's the purpose of xcompile?

Hamo hamo.by at gmail.com
Mon May 9 05:00:49 CEST 2011

On Mon, May 9, 2011 at 2:09 AM, Patrick Georgi <patrick at georgi-clan.de> wrote:
> Am 08.05.2011 07:04, schrieb Hamo:
>> for ARM easily. If not, How could I add cross-compiler support to
>> xcompile? I just read the code when we supported PPC and alpha, but It
>> has changed a lot since then.
> Maybe:
> - Rename CC, AS, ... to I386_CC, I386_AS, ...
> - Add support to check for other architectures (there's already a
> comment "This should be a loop over all supported architectures",
> storing that in ARM_CC, ARM_AS, ...
> - Change Makefile to set:
> depending on the chosen target hardware
> Patrick
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.

More information about the coreboot mailing list