On Mon, May 9, 2011 at 2:04 PM, Peter Stuge <[email protected]> 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
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

