spec: Drop disabled efi ia32 build architecture

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-07 10:59:56 -04:00
parent dfb97b6254
commit 86779a8f6f

View File

@ -1,14 +1,7 @@
%if 0%{?fedora}
%global cross 1
%global efi_ia32 1
%endif
# With the addition of HTTPS support, we need to drop
# efi_ia32 so qemu roms still stay in the expected size
# range. If no one complains we can drop the efi_ia32
# infrastructure in 2021 IMO
%global efi_ia32 0
# PCI IDs (vendor,product) of the ROMS we want for QEMU
#
# pcnet32: 0x1022 0x2000
@ -168,16 +161,10 @@ make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
mkdir bin-combined
for rom in %{qemuroms}; do
make_ipxe CONFIG=qemu bin/${rom}.rom
%if 0%{?efi_ia32}
make_ipxe CONFIG=qemu bin-i386-efi/${rom}.efidrv
%endif
make_ipxe CONFIG=qemu bin-x86_64-efi/${rom}.efidrv
vid="0x${rom%%????}"
did="0x${rom#????}"
EfiRom -f "$vid" -i "$did" --pci23 \
%if 0%{?efi_ia32}
-ec bin-i386-efi/${rom}.efidrv \
%endif
-ec bin-x86_64-efi/${rom}.efidrv \
-o bin-combined/${rom}.eficrom
util/catrom.pl \