aboutsummaryrefslogtreecommitdiff
path: root/linux-user/riscv/meson.build
blob: b2e7df0f4f65a4bf12eac9bd62e0ebe55617d742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
vdso_32_inc = gen_vdso.process('vdso-32.so',
                               extra_args: ['-r', '__vdso_rt_sigreturn'])
vdso_64_inc = gen_vdso.process('vdso-64.so',
                               extra_args: ['-r', '__vdso_rt_sigreturn'])

linux_user_ss.add(when: 'TARGET_RISCV32', if_true: vdso_32_inc)
linux_user_ss.add(when: 'TARGET_RISCV64', if_true: vdso_64_inc)

syscall_nr_generators += {
  'riscv': generator(sh,
                      arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
                      output: '@BASENAME@_nr.h')
}