Add seabios build scripts to roms/

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2012-02-09 10:40:31 +01:00
parent a348f10884
commit b1c0d031c4
3 changed files with 16 additions and 0 deletions

10
roms/Makefile Normal file
View File

@ -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

1
roms/config.seabios Normal file
View File

@ -0,0 +1 @@
# empty, default config works for us

5
roms/configure-seabios.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
config="$1"
make -C seabios clean distclean
cp "$config" seabios/.config
make -C seabios oldnoconfig