summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-06 18:38:28 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-06 18:38:28 +0000
commit1894463787300242a05f83e7cf0d24348933b571 (patch)
tree13f312248ea396937c8ca7b3279174dc629c4336
parent0d348f919cc19841e76762be1c42c4c2737bd268 (diff)
clean up qemu target config (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3979 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/emulation/qemu-x86/Options.lb5
-rw-r--r--targets/emulation/qemu-x86/Config-abuild.lb20
2 files changed, 11 insertions, 14 deletions
diff --git a/src/mainboard/emulation/qemu-x86/Options.lb b/src/mainboard/emulation/qemu-x86/Options.lb
index 74e543f737..e1fa3b13f7 100644
--- a/src/mainboard/emulation/qemu-x86/Options.lb
+++ b/src/mainboard/emulation/qemu-x86/Options.lb
@@ -70,9 +70,8 @@ default HAVE_HARD_RESET=0
##
## Build code to export a programmable irq routing table
##
-default HAVE_PIRQ_TABLE=0
-default IRQ_SLOT_COUNT=5
-#object irq_tables.o
+default HAVE_PIRQ_TABLE=1
+default IRQ_SLOT_COUNT=6
##
## Build code to export a CMOS option table
diff --git a/targets/emulation/qemu-x86/Config-abuild.lb b/targets/emulation/qemu-x86/Config-abuild.lb
index 6d26298f08..b5544a32bd 100644
--- a/targets/emulation/qemu-x86/Config-abuild.lb
+++ b/targets/emulation/qemu-x86/Config-abuild.lb
@@ -1,22 +1,20 @@
-# This will make a target directory of ./emulation_qemu-x86
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
-target emulation_qemu-x86
-mainboard emulation/qemu-x86
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
__COMPRESSION__
option ROM_SIZE=256*1024
-option CC="gcc -m32"
-
-option HAVE_PIRQ_TABLE=1
-option IRQ_SLOT_COUNT=6
-
-romimage "image"
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x10000
- option COREBOOT_EXTRA_VERSION="-OpenBIOS"
+ option COREBOOT_EXTRA_VERSION=".0"
payload __PAYLOAD__
end
-buildrom ./coreboot.rom ROM_SIZE "image"
+buildrom ./coreboot.rom ROM_SIZE "fallback"