2022-09-29 12:42:24 +01:00
|
|
|
#
|
|
|
|
# The main gdbstub still relies on per-build definitions of various
|
|
|
|
# types. The bits pushed to softmmu/user.c try to use guest agnostic
|
|
|
|
# types such as hwaddr.
|
|
|
|
#
|
|
|
|
|
2022-09-29 12:42:22 +01:00
|
|
|
specific_ss.add(files('gdbstub.c'))
|
2023-03-02 18:57:57 -08:00
|
|
|
|
|
|
|
# These have to built to the target ABI
|
|
|
|
specific_ss.add(files('syscalls.c'))
|
|
|
|
|
2022-09-29 12:42:24 +01:00
|
|
|
softmmu_ss.add(files('softmmu.c'))
|
|
|
|
user_ss.add(files('user.c'))
|
2023-03-02 18:57:47 -08:00
|
|
|
|
|
|
|
# The user-target is specialised by the guest
|
|
|
|
specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
|