xref: /qemu/gdbstub/meson.build (revision f1fa787b92c52d1034de164d2a26771ff969454e)
1#
2# The main gdbstub still relies on per-build definitions of various
3# types. The bits pushed to system/user.c try to use guest agnostic
4# types such as hwaddr.
5#
6
7# We build two versions of gdbstub, one for each mode
8libuser_ss.add(files(
9  'gdbstub.c',
10  'syscalls.c',
11  'user.c'
12))
13
14libsystem_ss.add(files(
15  'gdbstub.c',
16  'syscalls.c',
17  'system.c'
18))
19
20# The user-target is specialised by the guest
21specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
22