de6cd7599b
We use the user_ss[] array to hold the user emulation sources, and the softmmu_ss[] array to hold the system emulation ones. Hold the latter in the 'system_ss[]' array for parity with user emulation. Mechanical change doing: $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230613133347.82210-10-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
66 lines
1.9 KiB
Meson
66 lines
1.9 KiB
Meson
system_ss.add(files(
|
|
'announce.c',
|
|
'checksum.c',
|
|
'dump.c',
|
|
'eth.c',
|
|
'filter-buffer.c',
|
|
'filter-mirror.c',
|
|
'filter.c',
|
|
'hub.c',
|
|
'net-hmp-cmds.c',
|
|
'net.c',
|
|
'queue.c',
|
|
'socket.c',
|
|
'stream.c',
|
|
'dgram.c',
|
|
'util.c',
|
|
))
|
|
|
|
if get_option('replication').allowed() or \
|
|
get_option('colo_proxy').allowed()
|
|
system_ss.add(files('colo-compare.c'))
|
|
system_ss.add(files('colo.c'))
|
|
endif
|
|
|
|
if get_option('colo_proxy').allowed()
|
|
system_ss.add(files('filter-rewriter.c'))
|
|
endif
|
|
|
|
system_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c'))
|
|
|
|
if have_l2tpv3
|
|
system_ss.add(files('l2tpv3.c'))
|
|
endif
|
|
system_ss.add(when: slirp, if_true: files('slirp.c'))
|
|
system_ss.add(when: vde, if_true: files('vde.c'))
|
|
if have_netmap
|
|
system_ss.add(files('netmap.c'))
|
|
endif
|
|
if have_vhost_net_user
|
|
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-user-stub.c'))
|
|
system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-user-stub.c'))
|
|
endif
|
|
|
|
system_ss.add(when: 'CONFIG_LINUX', if_true: files('tap-linux.c'))
|
|
system_ss.add(when: 'CONFIG_BSD', if_true: files('tap-bsd.c'))
|
|
system_ss.add(when: 'CONFIG_SOLARIS', if_true: files('tap-solaris.c'))
|
|
tap_posix = ['tap.c']
|
|
if not config_host.has_key('CONFIG_LINUX') and not config_host.has_key('CONFIG_BSD') and not config_host.has_key('CONFIG_SOLARIS')
|
|
tap_posix += 'tap-stub.c'
|
|
endif
|
|
system_ss.add(when: 'CONFIG_POSIX', if_true: files(tap_posix))
|
|
system_ss.add(when: 'CONFIG_WIN32', if_true: files('tap-win32.c'))
|
|
if have_vhost_net_vdpa
|
|
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vdpa-stub.c'))
|
|
system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-vdpa-stub.c'))
|
|
endif
|
|
|
|
vmnet_files = files(
|
|
'vmnet-common.m',
|
|
'vmnet-bridged.m',
|
|
'vmnet-host.c',
|
|
'vmnet-shared.c'
|
|
)
|
|
system_ss.add(when: vmnet, if_true: vmnet_files)
|
|
subdir('can')
|