summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-i386/Config.OLPC.lb
blob: 15c58ed2145e648dba50430843e40687d391a245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This will make a target directory of ./emulation_qemu-i386

target qemu-i386-OLPC
mainboard emulation/qemu-i386

option ROM_SIZE=1024*1024 - (128 * 1024)
option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
option CONFIG_PRECOMPRESSED_PAYLOAD=0

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="-OpenBIOS"
	payload /tmp/olpcpayload.elf
end

buildrom ./coreboot.rom ROM_SIZE "image"