aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-24 15:46:52 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-30 09:44:36 +0200
commit774e80ea1d080c608ab06a3b68d9f583644b8d85 (patch)
treefdbddb03d3dea4d3b19fca7faa7dc2cf6dbd05cb /roms/Makefile
parent95f7c6803c71ca6f74e8d59da3fd189230d1c466 (diff)
roms: add support for building sgabios
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'roms/Makefile')
-rw-r--r--roms/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/roms/Makefile b/roms/Makefile
index 6994873314..10d5a65d61 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -50,6 +50,7 @@ default:
@echo " bios -- update bios.bin (seabios)"
@echo " seavgabios -- update vgabios binaries (seabios)"
@echo " lgplvgabios -- update vgabios binaries (lgpl)"
+ @echo " sgabios -- update sgabios binaries"
@echo " pxerom -- update nic roms (bios only)"
@echo " efirom -- update nic roms (bios+efi, this needs"
@echo " the EfiRom utility from edk2 / tianocore)"
@@ -89,6 +90,12 @@ build-lgplvgabios:
$(MAKE) $(MAKEFLAGS) -C vgabios $(vgabios_targets)
+.PHONY: sgabios
+sgabios:
+ $(MAKE) $(MAKEFLAGS) -C sgabios
+ cp sgabios/sgabios.bin ../pc-bios
+
+
pxerom: $(patsubst %,pxe-rom-%,$(pxerom_variants))
pxe-rom-%: build-pxe-roms
@@ -127,5 +134,7 @@ clean:
rm -rf seabios/.config seabios/out seabios/builds
$(MAKE) $(MAKEFLAGS) -C vgabios clean
rm -f vgabios/VGABIOS-lgpl-latest*
+ $(MAKE) $(MAKEFLAGS) -C sgabios clean
+ rm -f sgabios/.depend
$(MAKE) $(MAKEFLAGS) -C ipxe/src veryclean
$(MAKE) $(MAKEFLAGS) -C SLOF clean