xref: /openbmc/qemu/linux-user/riscv/meson.build (revision 2e1cacfb)
1vdso_32_inc = gen_vdso.process('vdso-32.so',
2                               extra_args: ['-r', '__vdso_rt_sigreturn'])
3vdso_64_inc = gen_vdso.process('vdso-64.so',
4                               extra_args: ['-r', '__vdso_rt_sigreturn'])
5
6linux_user_ss.add(when: 'TARGET_RISCV32', if_true: vdso_32_inc)
7linux_user_ss.add(when: 'TARGET_RISCV64', if_true: vdso_64_inc)
8
9syscall_nr_generators += {
10  'riscv': generator(sh,
11                      arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
12                      output: '@BASENAME@_nr.h')
13}
14