Globally declare in the main meson.build: - the list of EDK2 targets, - whether the EDK2 blobs have to be installed. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210114174509.2944817-2-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
17 lines
472 B
Meson
17 lines
472 B
Meson
if install_edk2_blobs
|
|
foreach f: [
|
|
'50-edk2-i386-secure.json',
|
|
'50-edk2-x86_64-secure.json',
|
|
'60-edk2-aarch64.json',
|
|
'60-edk2-arm.json',
|
|
'60-edk2-i386.json',
|
|
'60-edk2-x86_64.json'
|
|
]
|
|
configure_file(input: files(f),
|
|
output: f,
|
|
configuration: {'DATADIR': qemu_datadir},
|
|
install: get_option('install_blobs'),
|
|
install_dir: qemu_datadir / 'firmware')
|
|
endforeach
|
|
endif
|