Add a make target for sgabios. Since the sgabios makefile is not parallel friendly, do the make in two steps, each of which allows for a parallel make.
Signed-off-by: Bruce Rogers <brog...@suse.com> --- roms/Makefile | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/roms/Makefile b/roms/Makefile index 16fb8ac..a0689ee 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -35,6 +35,7 @@ default: @echo " pxerom -- update nic roms (bios only)" @echo " efirom -- update nic roms (bios+efi, this needs" @echo " the EfiRom utility from edk2 / tianocore)" + @echo " sgabios -- update sgabios binary" bios: config.seabios sh configure-seabios.sh $< @@ -84,3 +85,10 @@ efi-rom-%: ipxe/src/config/local/general.h ipxe/src/config/local/%: config.ipxe.% cp $< $@ + +.PHONY: sgabios +sgabios: +# Sgabios's makefile isn't parallel make friendly. Make interim target first. + $(MAKE) -C sgabios .depend + $(MAKE) -C sgabios + cp sgabios/sgabios.bin ../pc-bios/sgabios.bin -- 1.7.7