# This will make a target directory of ./emulation_qemu-x86 | |
target qemu-x86-OLPC | |
mainboard emulation/qemu-x86 | |
option CONFIG_ROM_SIZE=1024*1024 - (128 * 1024) | |
option CONFIG_COMPRESSED_PAYLOAD_LZMA=1 | |
option CONFIG_PRECOMPRESSED_PAYLOAD=0 | |
option CC="gcc -m32" | |
option CONFIG_GENERATE_PIRQ_TABLE=1 | |
option CONFIG_IRQ_SLOT_COUNT=6 | |
romimage "fallback" | |
option COREBOOT_EXTRA_VERSION="-OpenBIOS" | |
payload /tmp/olpcpayload.elf | |
end | |
buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" | |