From: Philippe Mathieu-Daudé Date: Tue, 11 Jan 2022 10:44:18 +0000 (+0100) Subject: stubs: Restrict fw_cfg to system emulation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e3ae2bbfcac6400c1eff72b5e89d093dd5758f56;p=qemu.git stubs: Restrict fw_cfg to system emulation fw_cfg_arch_key_name() stub is only required for sysemu. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: David Hildenbrand Message-Id: <20220111184309.28637-2-f4bug@amsat.org> --- diff --git a/stubs/meson.build b/stubs/meson.build index 71469c1d50..363f6fa785 100644 --- a/stubs/meson.build +++ b/stubs/meson.build @@ -11,7 +11,6 @@ stub_ss.add(files('icount.c')) stub_ss.add(files('dump.c')) stub_ss.add(files('error-printf.c')) stub_ss.add(files('fdset.c')) -stub_ss.add(files('fw_cfg.c')) stub_ss.add(files('gdbstub.c')) stub_ss.add(files('get-vm-name.c')) if linux_io_uring.found() @@ -51,6 +50,7 @@ if have_block stub_ss.add(files('replay-tools.c')) endif if have_system + stub_ss.add(files('fw_cfg.c')) stub_ss.add(files('semihost.c')) stub_ss.add(files('usb-dev-stub.c')) stub_ss.add(files('xen-hw-stub.c'))