aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-03-07 14:57:17 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-04-17 15:38:35 +0200
commit536d2173b2b35fef6be0d4fa2645bf812ef8ba3d (patch)
treefe366fef27218032ee57283c8e7e920f70990f44 /roms/Makefile
parentee5ef780de89d2c132684a9aa8040cd5b7195c02 (diff)
downloadqemu-536d2173b2b35fef6be0d4fa2645bf812ef8ba3d.zip
qemu-536d2173b2b35fef6be0d4fa2645bf812ef8ba3d.tar.gz
qemu-536d2173b2b35fef6be0d4fa2645bf812ef8ba3d.tar.bz2
roms: build edk2 firmware binaries and variable store templates
Add the "efi" target to "Makefile". Introduce "Makefile.edk2" for building and cleaning the firmware images and varstore templates. Collect the common bits from the recipes in the helper script "edk2-build.sh". Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'roms/Makefile')
-rw-r--r--roms/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/roms/Makefile b/roms/Makefile
index 93c3d46..0ce84a4 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -61,6 +61,7 @@ default:
@echo " skiboot -- update skiboot.lid"
@echo " u-boot.e500 -- update u-boot.e500"
@echo " u-boot.sam460 -- update u-boot.sam460"
+ @echo " efi -- update UEFI (edk2) platform firmware"
bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin
@@ -156,6 +157,9 @@ skiboot:
$(MAKE) -C skiboot CROSS=$(powerpc64_cross_prefix)
cp skiboot/skiboot.lid ../pc-bios/skiboot.lid
+efi: edk2-basetools
+ $(MAKE) -f Makefile.edk2
+
clean:
rm -rf seabios/.config seabios/out seabios/builds
$(MAKE) -C sgabios clean
@@ -166,3 +170,4 @@ clean:
rm -rf u-boot/build.e500
$(MAKE) -C u-boot-sam460ex distclean
$(MAKE) -C skiboot clean
+ $(MAKE) -f Makefile.edk2 clean