mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
configure: add --disable-colo-proxy option
Add option to not build filter-rewriter and colo-compare when they are not needed. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Message-Id: <20230515130640.46035-2-vsementsov@yandex-team.ru> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
266ccbb27b
commit
6c1e3906ce
5 changed files with 23 additions and 3 deletions
|
@ -1,13 +1,10 @@
|
|||
softmmu_ss.add(files(
|
||||
'announce.c',
|
||||
'checksum.c',
|
||||
'colo-compare.c',
|
||||
'colo.c',
|
||||
'dump.c',
|
||||
'eth.c',
|
||||
'filter-buffer.c',
|
||||
'filter-mirror.c',
|
||||
'filter-rewriter.c',
|
||||
'filter.c',
|
||||
'hub.c',
|
||||
'net-hmp-cmds.c',
|
||||
|
@ -19,6 +16,16 @@ softmmu_ss.add(files(
|
|||
'util.c',
|
||||
))
|
||||
|
||||
if get_option('replication').allowed() or \
|
||||
get_option('colo_proxy').allowed()
|
||||
softmmu_ss.add(files('colo-compare.c'))
|
||||
softmmu_ss.add(files('colo.c'))
|
||||
endif
|
||||
|
||||
if get_option('colo_proxy').allowed()
|
||||
softmmu_ss.add(files('filter-rewriter.c'))
|
||||
endif
|
||||
|
||||
softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c'))
|
||||
|
||||
if have_l2tpv3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue