]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
stubs: Restrict fw_cfg to system emulation
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 11 Jan 2022 10:44:18 +0000 (11:44 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 18 Jan 2022 09:45:35 +0000 (10:45 +0100)
fw_cfg_arch_key_name() stub is only required for sysemu.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220111184309.28637-2-f4bug@amsat.org>

stubs/meson.build

index 71469c1d50a18967812c7f46078715782a135f5d..363f6fa785d3ddf4d917eeb93dd9ec038d40c347 100644 (file)
@@ -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'))