diff options
author | Paolo Bonzini | 2021-09-23 12:55:28 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-09-30 15:30:24 +0200 |
commit | e49c0ef6f1cca3943f3d61da6e3da7e03ddf2a22 (patch) | |
tree | f11e97ebadb97bc9667207231487f7560cca88ae /pc-bios/descriptors | |
parent | target/i386: Add the query-sgx-capabilities QMP command (diff) | |
download | qemu-e49c0ef6f1cca3943f3d61da6e3da7e03ddf2a22.tar.gz qemu-e49c0ef6f1cca3943f3d61da6e3da7e03ddf2a22.tar.xz qemu-e49c0ef6f1cca3943f3d61da6e3da7e03ddf2a22.zip |
meson: unpack edk2 firmware even if --disable-blobs
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>
Diffstat (limited to 'pc-bios/descriptors')
-rw-r--r-- | pc-bios/descriptors/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pc-bios/descriptors/meson.build b/pc-bios/descriptors/meson.build index 29efa16d99..66f85d01c4 100644 --- a/pc-bios/descriptors/meson.build +++ b/pc-bios/descriptors/meson.build @@ -1,4 +1,4 @@ -if install_edk2_blobs +if unpack_edk2_blobs and get_option('install_blobs') foreach f: [ '50-edk2-i386-secure.json', '50-edk2-x86_64-secure.json', @@ -10,7 +10,7 @@ if install_edk2_blobs configure_file(input: files(f), output: f, configuration: {'DATADIR': get_option('prefix') / qemu_datadir}, - install: get_option('install_blobs'), + install: true, install_dir: qemu_datadir / 'firmware') endforeach endif |