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