]> git.proxmox.com Git - mirror_qemu.git/blobdiff - roms/edk2-build.sh
seabios-hppa: Update SeaBIOS-hppa to VERSION 3
[mirror_qemu.git] / roms / edk2-build.sh
index 4f46f8a6a217e4e0eefd0878883d2271bb11bc6c..d5391c7637284bd6752e0d047e4a1c910d6532e6 100755 (executable)
@@ -27,8 +27,7 @@ shift $num_args
 
 cd edk2
 
-# Work around <https://bugzilla.tianocore.org/show_bug.cgi?id=1607>.
-export PYTHON_COMMAND=python2
+export PYTHON_COMMAND=${EDK2_PYTHON_COMMAND:-python3}
 
 # Source "edksetup.sh" carefully.
 set +e +u +C
@@ -43,6 +42,7 @@ fi
 # any), for the edk2 "build" utility.
 source ../edk2-funcs.sh
 edk2_toolchain=$(qemu_edk2_get_toolchain "$emulation_target")
+MAKEFLAGS=$(qemu_edk2_quirk_tianocore_1607 "$MAKEFLAGS")
 edk2_thread_count=$(qemu_edk2_get_thread_count "$MAKEFLAGS")
 qemu_edk2_set_cross_env "$emulation_target"