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