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