e49c0ef6f1
The edk2 firmware blobs are needed to run bios-tables-test. Unpack them if any UEFI-enabled target is selected, so that the test can run. This is a bit more than is actually necessary, since bios-tables-test does not run for all UEFI-enabled targets, but it is the easiest way to write this logic. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210923105529.3845741-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
17 lines
503 B
Meson
17 lines
503 B
Meson
if unpack_edk2_blobs and get_option('install_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': get_option('prefix') / qemu_datadir},
|
|
install: true,
|
|
install_dir: qemu_datadir / 'firmware')
|
|
endforeach
|
|
endif
|