Skip to content

Commit

Permalink
Add seabios build scripts to roms/
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
kraxel committed Mar 12, 2012
1 parent a348f10 commit b1c0d03
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roms/Makefile
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions roms/config.seabios
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# empty, default config works for us
5 changes: 5 additions & 0 deletions roms/configure-seabios.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
config="$1"
make -C seabios clean distclean
cp "$config" seabios/.config
make -C seabios oldnoconfig

0 comments on commit b1c0d03

Please sign in to comment.