mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-19 08:02:15 -06:00
meson: Drop tcg as a module
This reverts commit dae0ec159f
("accel: build tcg modular").
The attempt was only enabled for x86, only modularized a small
portion of tcg, and in more than 3 years there have been no
follow-ups to improve the situation.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
04d3d0e9f5
commit
a802d5c456
2 changed files with 5 additions and 24 deletions
|
@ -21,16 +21,13 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)
|
||||||
specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
|
specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
|
||||||
'cputlb.c',
|
'cputlb.c',
|
||||||
'watchpoint.c',
|
'watchpoint.c',
|
||||||
|
'tcg-accel-ops.c',
|
||||||
|
'tcg-accel-ops-mttcg.c',
|
||||||
|
'tcg-accel-ops-icount.c',
|
||||||
|
'tcg-accel-ops-rr.c',
|
||||||
))
|
))
|
||||||
|
|
||||||
system_ss.add(when: ['CONFIG_TCG'], if_true: files(
|
system_ss.add(when: ['CONFIG_TCG'], if_true: files(
|
||||||
'icount-common.c',
|
'icount-common.c',
|
||||||
'monitor.c',
|
'monitor.c',
|
||||||
))
|
))
|
||||||
|
|
||||||
tcg_module_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
|
|
||||||
'tcg-accel-ops.c',
|
|
||||||
'tcg-accel-ops-mttcg.c',
|
|
||||||
'tcg-accel-ops-icount.c',
|
|
||||||
'tcg-accel-ops-rr.c',
|
|
||||||
))
|
|
||||||
|
|
18
meson.build
18
meson.build
|
@ -322,12 +322,6 @@ if cpu in ['x86', 'x86_64']
|
||||||
}
|
}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
modular_tcg = []
|
|
||||||
# Darwin does not support references to thread-local variables in modules
|
|
||||||
if host_os != 'darwin'
|
|
||||||
modular_tcg = ['i386-softmmu', 'x86_64-softmmu']
|
|
||||||
endif
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Compiler flags #
|
# Compiler flags #
|
||||||
##################
|
##################
|
||||||
|
@ -3279,11 +3273,6 @@ foreach target : target_dirs
|
||||||
if sym == 'CONFIG_TCG' or target in accelerator_targets.get(sym, [])
|
if sym == 'CONFIG_TCG' or target in accelerator_targets.get(sym, [])
|
||||||
config_target += { sym: 'y' }
|
config_target += { sym: 'y' }
|
||||||
config_all_accel += { sym: 'y' }
|
config_all_accel += { sym: 'y' }
|
||||||
if target in modular_tcg
|
|
||||||
config_target += { 'CONFIG_TCG_MODULAR': 'y' }
|
|
||||||
else
|
|
||||||
config_target += { 'CONFIG_TCG_BUILTIN': 'y' }
|
|
||||||
endif
|
|
||||||
target_kconfig += [ sym + '=y' ]
|
target_kconfig += [ sym + '=y' ]
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
@ -3642,7 +3631,6 @@ util_ss = ss.source_set()
|
||||||
|
|
||||||
# accel modules
|
# accel modules
|
||||||
qtest_module_ss = ss.source_set()
|
qtest_module_ss = ss.source_set()
|
||||||
tcg_module_ss = ss.source_set()
|
|
||||||
|
|
||||||
modules = {}
|
modules = {}
|
||||||
target_modules = {}
|
target_modules = {}
|
||||||
|
@ -3803,11 +3791,7 @@ subdir('tests/qtest/libqos')
|
||||||
subdir('tests/qtest/fuzz')
|
subdir('tests/qtest/fuzz')
|
||||||
|
|
||||||
# accel modules
|
# accel modules
|
||||||
tcg_real_module_ss = ss.source_set()
|
target_modules += { 'accel' : { 'qtest': qtest_module_ss }}
|
||||||
tcg_real_module_ss.add_all(when: 'CONFIG_TCG_MODULAR', if_true: tcg_module_ss)
|
|
||||||
specific_ss.add_all(when: 'CONFIG_TCG_BUILTIN', if_true: tcg_module_ss)
|
|
||||||
target_modules += { 'accel' : { 'qtest': qtest_module_ss,
|
|
||||||
'tcg': tcg_real_module_ss }}
|
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
# Internal static_libraries and dependencies #
|
# Internal static_libraries and dependencies #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue