qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/
Date: Mon, 19 Mar 2012 14:37:50 +0100	[thread overview]
Message-ID: <1332164271-3052-2-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1332164271-3052-1-git-send-email-kraxel@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 roms/Makefile             |   10 ++++++++++
 roms/config.seabios       |    1 +
 roms/configure-seabios.sh |    5 +++++
 3 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 roms/Makefile
 create mode 100644 roms/config.seabios
 create mode 100755 roms/configure-seabios.sh

diff --git a/roms/Makefile b/roms/Makefile
new file mode 100644
index 0000000..0114e6f
--- /dev/null
+++ b/roms/Makefile
@@ -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
index 0000000..c373b87
--- /dev/null
+++ b/roms/config.seabios
@@ -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
index 0000000..98f59a2
--- /dev/null
+++ b/roms/configure-seabios.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+config="$1"
+make -C seabios clean distclean
+cp "$config" seabios/.config
+make -C seabios oldnoconfig
-- 
1.7.1

  reply	other threads:[~2012-03-19 13:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 13:37 [Qemu-devel] [PULL 0/2] update seabios to 1.6.3.2 Gerd Hoffmann
2012-03-19 13:37 ` Gerd Hoffmann [this message]
2012-03-19 13:41   ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Peter Maydell
2012-03-19 13:37 ` [Qemu-devel] [PATCH 2/2] Update seabios to 1.6.3.2 Gerd Hoffmann
2012-03-19 19:24 ` [Qemu-devel] [PULL 0/2] update " Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2012-03-12 13:08 [Qemu-devel] [PULL] Update " Gerd Hoffmann
2012-03-12 13:08 ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332164271-3052-2-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).