mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00

config.c and console.c don't use any target specific headers anymore, move them from specific_ss[] to system_ss[] so they are built once, but will also be linked once, removing global symbol clash in a single QEMU binary. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250103171037.11265-6-philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250116160306.1709518-8-alex.bennee@linaro.org>
19 lines
529 B
Meson
19 lines
529 B
Meson
specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
|
'guestfd.c',
|
|
'syscalls.c',
|
|
))
|
|
|
|
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
|
|
'uaccess.c',
|
|
))
|
|
|
|
common_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_false: files('stubs-all.c'))
|
|
system_ss.add(when: ['CONFIG_SEMIHOSTING'], if_true: files(
|
|
'config.c',
|
|
'console.c',
|
|
), if_false: files(
|
|
'stubs-system.c',
|
|
))
|
|
|
|
specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
|
|
if_true: files('arm-compat-semi.c'))
|