See patch... This patch allows me to compile coreboot with LLVM/clang.
To actually use LLVM/clang, I just hard coded it in xcompile for now:
Index: util/xcompile/xcompile =================================================================== --- util/xcompile/xcompile (revision 5209) +++ util/xcompile/xcompile (working copy) @@ -87,7 +87,8 @@ cat << EOF # elf${TWIDTH}-${TARCH} toolchain AS:=${GCCPREFIX}as ${ASFLAGS} -CC:=${GCCPREFIX}gcc ${CFLAGS} +#CC:=${GCCPREFIX}gcc ${CFLAGS} +CC:=clang -m32 CPP:=${GCCPREFIX}cpp AR:=${GCCPREFIX}ar LD:=${GCCPREFIX}ld ${LDFLAGS}
Am 15.03.2010 01:11, schrieb Stefan Reinauer:
See patch... This patch allows me to compile coreboot with LLVM/clang.
To actually use LLVM/clang, I just hard coded it in xcompile for now:
This makes it configurable. Please test.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de