1vdso_inc = gen_vdso.process('vdso.so',
2                            extra_args: ['-r', '__vdso_rt_sigreturn'])
3
4linux_user_ss.add(when: 'TARGET_LOONGARCH64', if_true: vdso_inc)
5
6
7syscall_nr_generators += {
8  'loongarch64': generator(sh,
9                      arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
10                      output: '@BASENAME@_nr.h')
11}
12