2021-07-07 01:49:50 +03:00
|
|
|
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)
|
2024-09-20 18:10:31 +03:00
|
|
|
|
|
|
|
syscall_nr_generators += {
|
|
|
|
'riscv': generator(sh,
|
|
|
|
arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
|
|
|
output: '@BASENAME@_nr.h')
|
|
|
|
}
|