1if install_edk2_blobs 2 fds = [ 3 'edk2-aarch64-code.fd', 4 'edk2-arm-code.fd', 5 'edk2-arm-vars.fd', 6 'edk2-i386-code.fd', 7 'edk2-i386-secure-code.fd', 8 'edk2-i386-vars.fd', 9 'edk2-x86_64-code.fd', 10 'edk2-x86_64-secure-code.fd', 11 ] 12 13 foreach f : fds 14 custom_target(f, 15 build_by_default: have_system, 16 output: f, 17 input: '@0@.bz2'.format(f), 18 capture: true, 19 install: get_option('install_blobs'), 20 install_dir: qemu_datadir, 21 command: [ bzip2, '-dc', '@INPUT0@' ]) 22 endforeach 23endif 24 25blobs = files( 26 'bios.bin', 27 'bios-256k.bin', 28 'bios-microvm.bin', 29 'qboot.rom', 30 'sgabios.bin', 31 'vgabios.bin', 32 'vgabios-cirrus.bin', 33 'vgabios-stdvga.bin', 34 'vgabios-vmware.bin', 35 'vgabios-qxl.bin', 36 'vgabios-virtio.bin', 37 'vgabios-ramfb.bin', 38 'vgabios-bochs-display.bin', 39 'vgabios-ati.bin', 40 'openbios-sparc32', 41 'openbios-sparc64', 42 'openbios-ppc', 43 'QEMU,tcx.bin', 44 'QEMU,cgthree.bin', 45 'pxe-e1000.rom', 46 'pxe-eepro100.rom', 47 'pxe-ne2k_pci.rom', 48 'pxe-pcnet.rom', 49 'pxe-rtl8139.rom', 50 'pxe-virtio.rom', 51 'efi-e1000.rom', 52 'efi-eepro100.rom', 53 'efi-ne2k_pci.rom', 54 'efi-pcnet.rom', 55 'efi-rtl8139.rom', 56 'efi-virtio.rom', 57 'efi-e1000e.rom', 58 'efi-vmxnet3.rom', 59 'qemu-nsis.bmp', 60 'bamboo.dtb', 61 'canyonlands.dtb', 62 'petalogix-s3adsp1800.dtb', 63 'petalogix-ml605.dtb', 64 'multiboot.bin', 65 'linuxboot.bin', 66 'linuxboot_dma.bin', 67 'kvmvapic.bin', 68 'pvh.bin', 69 's390-ccw.img', 70 's390-netboot.img', 71 'slof.bin', 72 'skiboot.lid', 73 'palcode-clipper', 74 'u-boot.e500', 75 'u-boot-sam460-20100605.bin', 76 'qemu_vga.ndrv', 77 'edk2-licenses.txt', 78 'hppa-firmware.img', 79 'opensbi-riscv32-generic-fw_dynamic.bin', 80 'opensbi-riscv64-generic-fw_dynamic.bin', 81 'opensbi-riscv32-generic-fw_dynamic.elf', 82 'opensbi-riscv64-generic-fw_dynamic.elf', 83 'npcm7xx_bootrom.bin', 84) 85 86if get_option('install_blobs') 87 install_data(blobs, install_dir: qemu_datadir) 88endif 89 90subdir('descriptors') 91subdir('keymaps') 92