summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-x86/Config.OLPC.lb
blob: 6f5b2abe4cb45224a8858b07d7146a42c85a4722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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_HAVE_PIRQ_TABLE=1
option CONFIG_IRQ_SLOT_COUNT=6

romimage "image" 
	option COREBOOT_EXTRA_VERSION="-OpenBIOS"
	payload /tmp/olpcpayload.elf
end

buildrom ./coreboot.rom CONFIG_ROM_SIZE "image"