1if unpack_edk2_blobs and get_option('install_blobs')
2  foreach f: [
3    '50-edk2-i386-secure.json',
4    '50-edk2-x86_64-secure.json',
5    '60-edk2-aarch64.json',
6    '60-edk2-arm.json',
7    '60-edk2-i386.json',
8    '60-edk2-x86_64.json',
9    '60-edk2-loongarch64.json'
10  ]
11    configure_file(input: files(f),
12                   output: f,
13                   configuration: {'DATADIR': get_option('prefix') / qemu_datadir},
14                   install: true,
15                   install_dir: qemu_datadir / 'firmware')
16  endforeach
17endif
18