mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-07-22 02:44:53 +00:00
meson: Restrict block subsystem processing
Avoid generating module_block.h and block-gen.c if we are not going to use them. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210122204441.2145197-6-philmd@redhat.com> [Extend to nearby files and directories. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6d21d60a2a
commit
f285bd3fdc
|
@ -1877,6 +1877,7 @@ subdir('libdecnumber')
|
|||
subdir('target')
|
||||
subdir('dump')
|
||||
|
||||
if have_block
|
||||
block_ss.add(files(
|
||||
'block.c',
|
||||
'blockjob.c',
|
||||
|
@ -1900,6 +1901,7 @@ blockdev_ss.add(files(
|
|||
# os-win32.c does not
|
||||
blockdev_ss.add(when: 'CONFIG_POSIX', if_true: files('os-posix.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_WIN32', if_true: [files('os-win32.c')])
|
||||
endif
|
||||
|
||||
common_ss.add(files('cpus-common.c'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue