On Mon, May 9, 2011 at 2:09 AM, Patrick Georgi <[email protected]> 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: > CC:=$($(CONFIG_SOME_CONFIG_VARIABLE_WITH_ARCHITECTURE))_CC ... > 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.
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

