mirror_qemu/roms
Laszlo Ersek 037973bb0d edk2 build scripts: work around TianoCore#1607 without forcing Python 2
It turns out that forcing python2 for running the edk2 "build" utility is
neither necessary nor sufficient.

Forcing python2 is not sufficient for two reasons:

- QEMU is moving away from python2, with python2 nearing EOL,

- according to my most recent testing, the lacking dependency information
  in the makefiles that are generated by edk2's "build" utility can cause
  parallel build failures even when "build" is executed by python2.

And forcing python2 is not necessary because we can still return to the
original idea of filtering out jobserver-related options from MAKEFLAGS.
So do that.

While at it, cut short edk2's auto-detection of the python3.* minor
version, by setting PYTHON_COMMAND to "python3" (which we expect to be
available wherever we intend to build edk2).

With this patch, the guest UEFI binaries that are used as part of the BIOS
tables test, and the OVMF and ArmVirtQemu platform firmwares, will be
built strictly in a single job, regardless of an outermost "-jN" make
option. Alas, there appears to be no reliable way to build edk2 in an
(outer make, inner make) environment, with a jobserver enabled.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Reported-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190920083808.21399-3-lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-10-07 15:14:15 +02:00
..
QemuMacDrivers@90c488d5f4 QemuMacDrivers: update qemu_vga.ndrv to 90c488d built from submodule 2019-02-04 18:44:19 +11:00
SLOF@ea221600a1 pseries: Update SLOF firmware image 2019-08-29 09:46:07 +10:00
edk2@20d2e5a125 roms/edk2: update submodule from edk2-stable201903 to edk2-stable201905 2019-06-14 21:47:43 +02:00
ipxe@de4565cbe7 ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
openbios@c79e0ecb84 Update OpenBIOS images to c79e0ec built from submodule. 2019-07-01 18:37:05 +01:00
openhackware@c559da7c8e prep: Update ppc_rom.bin 2014-07-07 16:46:35 +02:00
opensbi@ce228ee091 roms: Add OpenSBI version 0.4 2019-07-18 14:18:43 -07:00
qemu-palcode@bf0e136988 pc-bios: Update palcode-clipper 2019-03-25 13:37:18 -07:00
seabios@a5cab58e9a seabios: update submodule to 1.12.1 2019-03-18 14:07:06 +01:00
seabios-hppa@0f4fe84658 Update seabios-hppa to latest upstream 2019-03-15 10:11:16 -07:00
sgabios@cbaee52287 sgabios: update for "fix wrong video attrs for int 10h,ah==13h" 2017-05-05 12:09:59 +02:00
skiboot@3a6fdede6c ppc/pnv: update skiboot to v6.4 2019-08-29 09:45:18 +10:00
u-boot@d3689267f9 PPC: E500: Update u-boot to v2019.01 2019-03-12 14:33:04 +11:00
u-boot-sam460ex@60b3916f33 sam460ex: Update u-boot-sam460ex firmware 2018-07-09 13:31:20 +10:00
Makefile edk2 build scripts: work around TianoCore#1607 without forcing Python 2 2019-10-07 15:14:15 +02:00
Makefile.edk2 roms/Makefile.edk2: don't pull in submodules when building from tarball 2019-10-07 14:54:48 +02:00
config.seabios-128k seabios: turn off CONFIG_ATA_DMA 2019-03-18 14:07:06 +01:00
config.seabios-256k seabios: turn off CONFIG_ATA_DMA 2019-03-18 14:07:06 +01:00
config.vga-ati seabios: add config for ati vgabios 2019-06-28 10:49:36 +02:00
config.vga-bochs-display seabios: add vga configs for bochs-display and ramfb 2018-07-02 17:20:54 +02:00
config.vga-cirrus roms: enable parallel seabios / seavgabios builds 2013-09-30 09:44:35 +02:00
config.vga-isavga roms: enable parallel seabios / seavgabios builds 2013-09-30 09:44:35 +02:00
config.vga-qxl roms: enable parallel seabios / seavgabios builds 2013-09-30 09:44:35 +02:00
config.vga-ramfb seabios: add vga configs for bochs-display and ramfb 2018-07-02 17:20:54 +02:00
config.vga-stdvga roms: enable parallel seabios / seavgabios builds 2013-09-30 09:44:35 +02:00
config.vga-virtio virtio-vga: add vgabios configuration 2015-06-12 10:13:23 +02:00
config.vga-vmware roms: enable parallel seabios / seavgabios builds 2013-09-30 09:44:35 +02:00
configure-seabios.sh Revert "roms: switch oldnoconfig to olddefconfig" 2013-05-28 12:12:07 +02:00
edk2-build.sh edk2 build scripts: work around TianoCore#1607 without forcing Python 2 2019-10-07 15:14:15 +02:00
edk2-funcs.sh edk2 build scripts: work around TianoCore#1607 without forcing Python 2 2019-10-07 15:14:15 +02:00