When cross-compiling, by default qemu_datadir is 'c:\Program Files\QEMU', which is not recognized as being an absolute path, and meson will end up adding the prefix again. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200826110419.528931-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
15 lines
417 B
Meson
15 lines
417 B
Meson
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': config_host['qemu_datadir']},
|
|
install: install_blobs,
|
|
install_dir: qemu_datadir / 'firmware')
|
|
endforeach
|