[coreboot] Building coreboot on 64-bit host

Stefan Reinauer stepan at coresystems.de
Fri May 16 16:06:42 CEST 2008


llandre wrote:

> I changed the file src/config/Config.lb like this:
>
> -----------------------------------------------------------
> makerule coreboot
> 	depends	"crt0.o $(INIT-OBJECTS) $(COREBOOT_APC) $(COREBOOT_RAM_ROM) 
> ldscript.ld"
> 	action	"$(CC) $(DISTRO_LFLAGS) -nostdlib -nostartfiles -static 
> --oformat elf32-i386 -o $@ -T ldscript.ld crt0.o $(INIT-OBJECTS)"
> 	action	"$(CROSS_COMPILE)nm -n coreboot | sort > coreboot.map"
> end

what about setting DISTRO_LFLAGS to -m32 ?






More information about the coreboot mailing list