forked from lemonjesus/qemu-ipod-nano
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson.build: Declare global edk2_targets / install_edk2_blobs variables
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>
- Loading branch information
Showing
3 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
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 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters