spec: Drop disabled efi ia32 build architecture
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
dfb97b6254
commit
86779a8f6f
13
ipxe.spec
13
ipxe.spec
@ -1,14 +1,7 @@
|
|||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%global cross 1
|
%global cross 1
|
||||||
%global efi_ia32 1
|
|
||||||
%endif
|
%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
|
# PCI IDs (vendor,product) of the ROMS we want for QEMU
|
||||||
#
|
#
|
||||||
# pcnet32: 0x1022 0x2000
|
# pcnet32: 0x1022 0x2000
|
||||||
@ -168,16 +161,10 @@ make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
|
|||||||
mkdir bin-combined
|
mkdir bin-combined
|
||||||
for rom in %{qemuroms}; do
|
for rom in %{qemuroms}; do
|
||||||
make_ipxe CONFIG=qemu bin/${rom}.rom
|
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
|
make_ipxe CONFIG=qemu bin-x86_64-efi/${rom}.efidrv
|
||||||
vid="0x${rom%%????}"
|
vid="0x${rom%%????}"
|
||||||
did="0x${rom#????}"
|
did="0x${rom#????}"
|
||||||
EfiRom -f "$vid" -i "$did" --pci23 \
|
EfiRom -f "$vid" -i "$did" --pci23 \
|
||||||
%if 0%{?efi_ia32}
|
|
||||||
-ec bin-i386-efi/${rom}.efidrv \
|
|
||||||
%endif
|
|
||||||
-ec bin-x86_64-efi/${rom}.efidrv \
|
-ec bin-x86_64-efi/${rom}.efidrv \
|
||||||
-o bin-combined/${rom}.eficrom
|
-o bin-combined/${rom}.eficrom
|
||||||
util/catrom.pl \
|
util/catrom.pl \
|
||||||
|
Loading…
Reference in New Issue
Block a user