2021-01-14 17:45:08 +00:00
|
|
|
if install_edk2_blobs
|
2019-07-15 17:22:31 +00:00
|
|
|
fds = [
|
|
|
|
'edk2-aarch64-code.fd',
|
|
|
|
'edk2-arm-code.fd',
|
|
|
|
'edk2-arm-vars.fd',
|
|
|
|
'edk2-i386-code.fd',
|
|
|
|
'edk2-i386-secure-code.fd',
|
|
|
|
'edk2-i386-vars.fd',
|
|
|
|
'edk2-x86_64-code.fd',
|
|
|
|
'edk2-x86_64-secure-code.fd',
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach f : fds
|
|
|
|
custom_target(f,
|
2021-01-22 20:44:32 +00:00
|
|
|
build_by_default: have_system,
|
2019-07-15 17:22:31 +00:00
|
|
|
output: f,
|
|
|
|
input: '@0@.bz2'.format(f),
|
|
|
|
capture: true,
|
2020-10-16 07:32:52 +00:00
|
|
|
install: get_option('install_blobs'),
|
2020-08-26 11:04:16 +00:00
|
|
|
install_dir: qemu_datadir,
|
2019-07-15 17:22:31 +00:00
|
|
|
command: [ bzip2, '-dc', '@INPUT0@' ])
|
|
|
|
endforeach
|
|
|
|
endif
|
|
|
|
|
2020-08-26 13:06:17 +00:00
|
|
|
blobs = files(
|
|
|
|
'bios.bin',
|
|
|
|
'bios-256k.bin',
|
2020-09-15 12:08:51 +00:00
|
|
|
'bios-microvm.bin',
|
2020-09-15 12:08:49 +00:00
|
|
|
'qboot.rom',
|
2020-08-26 13:06:17 +00:00
|
|
|
'sgabios.bin',
|
|
|
|
'vgabios.bin',
|
|
|
|
'vgabios-cirrus.bin',
|
|
|
|
'vgabios-stdvga.bin',
|
|
|
|
'vgabios-vmware.bin',
|
|
|
|
'vgabios-qxl.bin',
|
|
|
|
'vgabios-virtio.bin',
|
|
|
|
'vgabios-ramfb.bin',
|
|
|
|
'vgabios-bochs-display.bin',
|
|
|
|
'vgabios-ati.bin',
|
|
|
|
'openbios-sparc32',
|
|
|
|
'openbios-sparc64',
|
|
|
|
'openbios-ppc',
|
|
|
|
'QEMU,tcx.bin',
|
|
|
|
'QEMU,cgthree.bin',
|
|
|
|
'pxe-e1000.rom',
|
|
|
|
'pxe-eepro100.rom',
|
|
|
|
'pxe-ne2k_pci.rom',
|
|
|
|
'pxe-pcnet.rom',
|
|
|
|
'pxe-rtl8139.rom',
|
|
|
|
'pxe-virtio.rom',
|
|
|
|
'efi-e1000.rom',
|
|
|
|
'efi-eepro100.rom',
|
|
|
|
'efi-ne2k_pci.rom',
|
|
|
|
'efi-pcnet.rom',
|
|
|
|
'efi-rtl8139.rom',
|
|
|
|
'efi-virtio.rom',
|
|
|
|
'efi-e1000e.rom',
|
|
|
|
'efi-vmxnet3.rom',
|
|
|
|
'qemu-nsis.bmp',
|
|
|
|
'bamboo.dtb',
|
|
|
|
'canyonlands.dtb',
|
|
|
|
'petalogix-s3adsp1800.dtb',
|
|
|
|
'petalogix-ml605.dtb',
|
|
|
|
'multiboot.bin',
|
|
|
|
'linuxboot.bin',
|
|
|
|
'linuxboot_dma.bin',
|
|
|
|
'kvmvapic.bin',
|
|
|
|
'pvh.bin',
|
|
|
|
's390-ccw.img',
|
|
|
|
's390-netboot.img',
|
|
|
|
'slof.bin',
|
|
|
|
'skiboot.lid',
|
|
|
|
'palcode-clipper',
|
|
|
|
'u-boot.e500',
|
|
|
|
'u-boot-sam460-20100605.bin',
|
|
|
|
'qemu_vga.ndrv',
|
|
|
|
'edk2-licenses.txt',
|
|
|
|
'hppa-firmware.img',
|
|
|
|
'opensbi-riscv32-generic-fw_dynamic.bin',
|
|
|
|
'opensbi-riscv64-generic-fw_dynamic.bin',
|
|
|
|
'opensbi-riscv32-generic-fw_dynamic.elf',
|
|
|
|
'opensbi-riscv64-generic-fw_dynamic.elf',
|
2020-09-11 05:20:53 +00:00
|
|
|
'npcm7xx_bootrom.bin',
|
2020-08-26 13:06:17 +00:00
|
|
|
)
|
|
|
|
|
2020-10-16 07:32:52 +00:00
|
|
|
if get_option('install_blobs')
|
2020-10-16 07:19:14 +00:00
|
|
|
install_data(blobs, install_dir: qemu_datadir)
|
2020-08-26 13:06:17 +00:00
|
|
|
endif
|
|
|
|
|
2019-07-15 17:22:31 +00:00
|
|
|
subdir('descriptors')
|
2019-09-19 16:24:43 +00:00
|
|
|
subdir('keymaps')
|