mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
We don't have any target dependency left in system mode, so we can compile once. User mode depends on qemu.h, which is duplicated between linux and bsd, so we can't easily compile it once. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20250822150058.18692-13-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20250922093711.2768983-16-alex.bennee@linaro.org>
22 lines
708 B
Meson
22 lines
708 B
Meson
common_ss.add(when: 'CONFIG_SEMIHOSTING', if_false: 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',
|
|
), if_false: files(
|
|
'stubs-system.c',
|
|
))
|
|
system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING',
|
|
if_true: files('arm-compat-semi.c'),
|
|
if_false: 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'))
|