]> git.proxmox.com Git - mirror_qemu.git/blob - pc-bios/meson.build
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
[mirror_qemu.git] / pc-bios / meson.build
1 bzip2 = find_program('bzip2')
2
3 install_blobs = 'INSTALL_BLOBS' in config_host
4 if 'DECOMPRESS_EDK2_BLOBS' in config_host
5 fds = [
6 'edk2-aarch64-code.fd',
7 'edk2-arm-code.fd',
8 'edk2-arm-vars.fd',
9 'edk2-i386-code.fd',
10 'edk2-i386-secure-code.fd',
11 'edk2-i386-vars.fd',
12 'edk2-x86_64-code.fd',
13 'edk2-x86_64-secure-code.fd',
14 ]
15
16 foreach f : fds
17 custom_target(f,
18 output: f,
19 input: '@0@.bz2'.format(f),
20 capture: true,
21 install: install_blobs,
22 install_dir: config_host['qemu_datadir'],
23 command: [ bzip2, '-dc', '@INPUT0@' ])
24 endforeach
25 endif
26
27 subdir('descriptors')