From fdf1a9bbb49fd4275ae729df777056d6a4b53e1d Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Jan 22 2016 14:04:37 +0000 Subject: Build eepro100 roms for qemu This matches what qemu.git ships --- diff --git a/ipxe.spec b/ipxe.spec index 8b27ad7..4a3951a 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -9,7 +9,8 @@ # e1000: 0x8086 0x100e # rtl8139: 0x10ec 0x8139 # virtio-net: 0x1af4 0x1000 -%global qemuroms 10222000 10ec8029 8086100e 10ec8139 1af41000 +# eepro100: 0x8086 0x1209 +%global qemuroms 10222000 10ec8029 8086100e 10ec8139 1af41000 80861209 # We only build the ROMs if on an x86 build host. The resulting # binary RPM will be noarch, so other archs will still be able @@ -135,7 +136,7 @@ make %{?_smp_mflags} \ # build roms with efi support for qemu mkdir bin-combined -for rom in %qemuroms; do +for rom in %{qemuroms}; do make NO_WERROR=1 V=1 CONFIG=qemu GITVERSION=%{hash} CROSS_COMPILE=x86_64-linux-gnu- bin/${rom}.rom make NO_WERROR=1 V=1 CONFIG=qemu GITVERSION=%{hash} CROSS_COMPILE=x86_64-linux-gnu- bin-i386-efi/${rom}.efidrv make NO_WERROR=1 V=1 CONFIG=qemu GITVERSION=%{hash} CROSS_COMPILE=x86_64-linux-gnu- bin-x86_64-efi/${rom}.efidrv