mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
Move stubs to the global stub_ss[] source set. These files are now built once for all binaries, instead of one time per system binary. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260225035739.42848-12-philmd@linaro.org>
23 lines
670 B
Meson
23 lines
670 B
Meson
stub_ss.add(files('stubs-all.c'))
|
|
user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
|
'user.c',
|
|
'guestfd.c'))
|
|
system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
|
'config.c',
|
|
'console.c',
|
|
'guestfd.c',
|
|
'uaccess.c',
|
|
'syscalls.c',
|
|
))
|
|
stub_ss.add(files(
|
|
'stubs-system.c',
|
|
))
|
|
system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING',
|
|
if_true: files('arm-compat-semi.c'))
|
|
stub_ss.add(files('arm-compat-semi-stub.c'))
|
|
|
|
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_USER_ONLY'],
|
|
if_true: files('syscalls.c'))
|
|
specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING', 'CONFIG_USER_ONLY'],
|
|
if_true: files('arm-compat-semi.c'))
|