xref: /qemu/gdbstub/meson.build (revision d0b4cfa62937ce59bd88de5928ada687329be194)
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
8 libuser_ss.add(files(
9   'gdbstub.c',
10   'syscalls.c',
11   'user.c'
12 ))
13 
14 libsystem_ss.add(files(
15   'gdbstub.c',
16   'syscalls.c',
17   'system.c'
18 ))
19 
20 # The user-target is specialised by the guest
21 specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
22