1if install_edk2_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  ]
10    configure_file(input: files(f),
11                   output: f,
12                   configuration: {'DATADIR': get_option('prefix') / qemu_datadir},
13                   install: get_option('install_blobs'),
14                   install_dir: qemu_datadir / 'firmware')
15  endforeach
16endif
17