]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Add seabios build scripts to roms/
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Feb 2012 09:40:31 +0000 (10:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Mar 2012 12:56:58 +0000 (13:56 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
roms/Makefile [new file with mode: 0644]
roms/config.seabios [new file with mode: 0644]
roms/configure-seabios.sh [new file with mode: 0755]

diff --git a/roms/Makefile b/roms/Makefile
new file mode 100644 (file)
index 0000000..0114e6f
--- /dev/null
@@ -0,0 +1,10 @@
+
+default:
+       @echo "nothing is build by default"
+       @echo "available build targets:"
+       @echo "  bios           -- update bios.bin (seabios)"
+
+bios: config.seabios
+       sh configure-seabios.sh $<
+       make -C seabios out/bios.bin
+       cp seabios/out/bios.bin ../pc-bios/bios.bin
diff --git a/roms/config.seabios b/roms/config.seabios
new file mode 100644 (file)
index 0000000..c373b87
--- /dev/null
@@ -0,0 +1 @@
+# empty, default config works for us
diff --git a/roms/configure-seabios.sh b/roms/configure-seabios.sh
new file mode 100755 (executable)
index 0000000..98f59a2
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+config="$1"
+make -C seabios clean distclean
+cp "$config" seabios/.config
+make -C seabios oldnoconfig