# This will make a target directory of ./emulation_qemu-x86

target qemu-x86
mainboard emulation/qemu-x86

option ROM_SIZE=256*1024

option CC="gcc -m32"

option HAVE_PIRQ_TABLE=1
option IRQ_SLOT_COUNT=6

romimage "image" 
	option ROM_IMAGE_SIZE=0x10000
	option COREBOOT_EXTRA_VERSION="-GRUB2"
#	payload /home/stepan/core.img
	payload ../payload.elf
end

buildrom ./coreboot.rom ROM_SIZE "image"