mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
accel/qtest: Build once as common object
No code within qtest.c uses target-specific knowledge: build it once as target-agnostic common unit. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260225053408.18426-1-philmd@linaro.org>
This commit is contained in:
@@ -1 +1,4 @@
|
||||
qtest_module_ss.add(when: ['CONFIG_SYSTEM_ONLY'], if_true: files('qtest.c'))
|
||||
qtest_module_ss = ss.source_set()
|
||||
qtest_module_ss.add(files('qtest.c'))
|
||||
|
||||
modules += {'accel': {'qtest': qtest_module_ss}}
|
||||
|
||||
@@ -3897,9 +3897,6 @@ subdir('linux-user')
|
||||
subdir('tests/qtest/libqos')
|
||||
subdir('tests/qtest/fuzz')
|
||||
|
||||
# accel modules
|
||||
target_modules += { 'accel' : { 'qtest': qtest_module_ss }}
|
||||
|
||||
##############################################
|
||||
# Internal static_libraries and dependencies #
|
||||
##############################################
|
||||
|
||||
Reference in New Issue
Block a user