xref: /openbmc/qemu/linux-user/arm/meson.build (revision 05caa062)
1subdir('nwfpe')
2
3syscall_nr_generators += {
4  'arm': generator(sh,
5                   arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
6                   output: '@BASENAME@_nr.h')
7}
8
9# TARGET_BIG_ENDIAN is defined to 'n' for little-endian; which means it
10# is always true as far as source_set.apply() is concerned.  Always build
11# both header files and include the right one via #if.
12
13vdso_be_inc = gen_vdso.process('vdso-be.so',
14                               extra_args: ['-s', 'sigreturn_codes'])
15
16vdso_le_inc = gen_vdso.process('vdso-le.so',
17                               extra_args: ['-s', 'sigreturn_codes'])
18
19linux_user_ss.add(when: 'TARGET_ARM', if_true: [vdso_be_inc, vdso_le_inc])
20