* [PATCH V3] meson: install keyboard maps only if necessary
@ 2023-03-27 17:21 casantos
2023-03-27 18:00 ` Daniel P. Berrangé
0 siblings, 1 reply; 2+ messages in thread
From: casantos @ 2023-03-27 17:21 UTC (permalink / raw)
To: qemu-devel, qemu-trivial; +Cc: Carlos Santos
From: Carlos Santos <casantos@redhat.com>
They are required only for system emulation (i.e. have_system is true).
Signed-off-by: Carlos Santos <casantos@redhat.com>
---
Changes v1->v2:
Remove stray --{enable,disable}-install-keymaps addition to scripts/meson-buildoptions.sh
Changes v2->v3:
Reset submodules (synchronize to origin/master)
---
pc-bios/keymaps/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
index 158a3b410c..bff3083313 100644
--- a/pc-bios/keymaps/meson.build
+++ b/pc-bios/keymaps/meson.build
@@ -47,7 +47,7 @@ if native_qemu_keymap.found()
build_by_default: true,
output: km,
command: [native_qemu_keymap, '-f', '@OUTPUT@', args.split()],
- install: true,
+ install: have_system,
install_dir: qemu_datadir / 'keymaps')
endforeach
@@ -56,4 +56,6 @@ else
install_data(keymaps.keys(), install_dir: qemu_datadir / 'keymaps')
endif
-install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')
+if have_system
+ install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')
+endif
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V3] meson: install keyboard maps only if necessary
2023-03-27 17:21 [PATCH V3] meson: install keyboard maps only if necessary casantos
@ 2023-03-27 18:00 ` Daniel P. Berrangé
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2023-03-27 18:00 UTC (permalink / raw)
To: casantos; +Cc: qemu-devel, qemu-trivial
On Mon, Mar 27, 2023 at 02:21:47PM -0300, casantos@redhat.com wrote:
> From: Carlos Santos <casantos@redhat.com>
>
> They are required only for system emulation (i.e. have_system is true).
>
> Signed-off-by: Carlos Santos <casantos@redhat.com>
> ---
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-27 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-27 17:21 [PATCH V3] meson: install keyboard maps only if necessary casantos
2023-03-27 18:00 ` Daniel P. Berrangé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).