mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
meson: convert common QMP bits for qemu and qemu-storage-daemon
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
708eab42dc
commit
ff219dca9f
7 changed files with 27 additions and 12 deletions
10
meson.build
10
meson.build
|
@ -475,6 +475,7 @@ stub_ss = ss.source_set()
|
|||
trace_ss = ss.source_set()
|
||||
block_ss = ss.source_set()
|
||||
blockdev_ss = ss.source_set()
|
||||
qmp_ss = ss.source_set()
|
||||
common_ss = ss.source_set()
|
||||
softmmu_ss = ss.source_set()
|
||||
user_ss = ss.source_set()
|
||||
|
@ -655,6 +656,7 @@ softmmu_ss.add(when: ['CONFIG_FDT', fdt], if_true: [files('device_tree.c')])
|
|||
common_ss.add(files('cpus-common.c'))
|
||||
|
||||
subdir('softmmu')
|
||||
subdir('monitor')
|
||||
|
||||
# needed for fuzzing binaries
|
||||
subdir('tests/qtest/libqos')
|
||||
|
@ -704,6 +706,14 @@ block = declare_dependency(link_whole: [libblock],
|
|||
link_args: '@block.syms',
|
||||
dependencies: [crypto, io])
|
||||
|
||||
qmp_ss = qmp_ss.apply(config_host, strict: false)
|
||||
libqmp = static_library('qmp', qmp_ss.sources() + genh,
|
||||
dependencies: qmp_ss.dependencies(),
|
||||
name_suffix: 'fa',
|
||||
build_by_default: false)
|
||||
|
||||
qmp = declare_dependency(link_whole: [libqmp])
|
||||
|
||||
foreach m : block_mods + softmmu_mods
|
||||
shared_module(m.name(),
|
||||
name_prefix: '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue