summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-01-29 09:11:46 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-01-29 09:11:46 +0100
commit222610eb366335be145e3c3700360365fb678639 (patch)
treef15b388a0918e71eee45664b7b5b5950985efa9f
parentdb8037daf68239c18918f39993d73153d1a8c20f (diff)
downloadseabios-222610eb366335be145e3c3700360365fb678639.tar.gz
build 128k + 256k bios
-rw-r--r--config.bios.qemu1
-rw-r--r--config.bios.qemu-256k4
-rw-r--r--seabios.git.spec14
3 files changed, 15 insertions, 4 deletions
diff --git a/config.bios.qemu b/config.bios.qemu
index df1f262..589b395 100644
--- a/config.bios.qemu
+++ b/config.bios.qemu
@@ -1,3 +1,4 @@
CONFIG_QEMU=y
CONFIG_QEMU_HARDWARE=y
CONFIG_PERMIT_UNALIGNED_PCIROM=y
+CONFIG_ROM_SIZE=128
diff --git a/config.bios.qemu-256k b/config.bios.qemu-256k
new file mode 100644
index 0000000..8abb66a
--- /dev/null
+++ b/config.bios.qemu-256k
@@ -0,0 +1,4 @@
+CONFIG_QEMU=y
+CONFIG_QEMU_HARDWARE=y
+CONFIG_PERMIT_UNALIGNED_PCIROM=y
+CONFIG_ROM_SIZE=256
diff --git a/seabios.git.spec b/seabios.git.spec
index f790a9e..dab4b51 100644
--- a/seabios.git.spec
+++ b/seabios.git.spec
@@ -10,8 +10,9 @@ License: LGPLv3
Source0: seabios.git-g5b63109.tar.xz
Source10: config.bios.qemu
-Source11: config.bios.coreboot
-Source12: config.bios.csm
+Source11: config.bios.qemu-256k
+Source15: config.bios.coreboot
+Source16: config.bios.csm
Source20: config.vga.stdvga
Source21: config.vga.cirrus
Source22: config.vga.vmware
@@ -69,15 +70,19 @@ cp out/bios.bin rpm.bin/bios-qemu.bin
cp out/src/fw/*dsdt*.aml rpm.bin/
cp .config rpm.doc/bios-qemu.config
+do_build %{SOURCE11} out/bios.bin
+cp out/bios.bin rpm.bin/bios-qemu-256k.bin
+cp .config rpm.doc/bios-qemu-256k.config
+
mkdir rpm.core.bin
mkdir rpm.core.doc
-do_build %{SOURCE11} out/bios.bin.elf
+do_build %{SOURCE15} out/bios.bin.elf
cp out/bios.bin.elf rpm.core.bin/bios-coreboot.elf
cp .config rpm.core.doc/bios-coreboot.config
mkdir rpm.csm.bin
mkdir rpm.csm.doc
-do_build %{SOURCE12} out/bios.bin
+do_build %{SOURCE16} out/bios.bin
cp out/bios.bin rpm.csm.bin/bios-csm.bin
cp .config rpm.csm.doc/bios-csm.config
@@ -104,6 +109,7 @@ mkdir -p %{buildroot}/usr/share/seavgabios.git
cp rpm.vga.bin/* %{buildroot}/usr/share/seavgabios.git
ln -s bios-qemu.bin %{buildroot}/usr/share/%{name}/bios.bin
+ln -s bios-qemu-256k.bin %{buildroot}/usr/share/%{name}/bios-256k.bin
ln -s ../sgabios.git/sgabios.bin %{buildroot}/usr/share/%{name}/sgabios.bin
for ext in rom bin; do