summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-x86/Config.OLPC.lb
blob: 718fd8d2842f4981214c708276c3aaa70be7a5e9 (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_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"