From b1c0d031c452bddfdedf33c5fa2ab2cc2b4a5ea0 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 9 Feb 2012 10:40:31 +0100 Subject: [PATCH] Add seabios build scripts to roms/ Signed-off-by: Gerd Hoffmann --- roms/Makefile | 10 ++++++++++ roms/config.seabios | 1 + roms/configure-seabios.sh | 5 +++++ 3 files changed, 16 insertions(+) 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 -- 2.7.4