Merge tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier...
[qemu/ar7.git] / linux-user / meson.build
blobde4320af053cd45d5b659c22cfa8ed6fc8a09755
1 if not have_linux_user
2    subdir_done()
3 endif
5 linux_user_ss = ss.source_set()
7 common_user_inc += include_directories('include/host/' / host_arch)
8 common_user_inc += include_directories('include')
10 linux_user_ss.add(files(
11   'elfload.c',
12   'exit.c',
13   'fd-trans.c',
14   'linuxload.c',
15   'main.c',
16   'mmap.c',
17   'signal.c',
18   'strace.c',
19   'syscall.c',
20   'thunk.c',
21   'uaccess.c',
22   'uname.c',
24 linux_user_ss.add(rt)
26 linux_user_ss.add(when: 'TARGET_HAS_BFLT', if_true: files('flatload.c'))
27 linux_user_ss.add(when: 'TARGET_I386', if_true: files('vm86.c'))
28 linux_user_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING', if_true: files('semihost.c'))
31 syscall_nr_generators = {}
33 subdir('alpha')
34 subdir('arm')
35 subdir('hppa')
36 subdir('i386')
37 subdir('m68k')
38 subdir('microblaze')
39 subdir('mips64')
40 subdir('mips')
41 subdir('ppc')
42 subdir('s390x')
43 subdir('sh4')
44 subdir('sparc')
45 subdir('x86_64')
46 subdir('xtensa')
48 specific_ss.add_all(when: 'CONFIG_LINUX_USER', if_true: linux_user_ss)