mirror of
https://gitlab.com/qemu-project/qemu
synced 2025-04-29 19:32:08 +08:00

Copy to libuser_ss and libsystem_ss. This file uses semihosting/semihost.h, which has separate implementations with and without CONFIG_USER_ONLY. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
480 B
Meson
22 lines
480 B
Meson
#
|
|
# The main gdbstub still relies on per-build definitions of various
|
|
# types. The bits pushed to system/user.c try to use guest agnostic
|
|
# types such as hwaddr.
|
|
#
|
|
|
|
# We build two versions of gdbstub, one for each mode
|
|
libuser_ss.add(files(
|
|
'gdbstub.c',
|
|
'syscalls.c',
|
|
'user.c'
|
|
))
|
|
|
|
libsystem_ss.add(files(
|
|
'gdbstub.c',
|
|
'syscalls.c',
|
|
'system.c'
|
|
))
|
|
|
|
# The user-target is specialised by the guest
|
|
specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
|