xref: /qemu/linux-user/loongarch64/meson.build (revision 4ae7d11b70a840eec7aa27269093b15d04ebc84e)
100cc2934SRichard Hendersonvdso_inc = gen_vdso.process('vdso.so',
200cc2934SRichard Henderson                            extra_args: ['-r', '__vdso_rt_sigreturn'])
300cc2934SRichard Henderson
400cc2934SRichard Hendersonlinux_user_ss.add(when: 'TARGET_LOONGARCH64', if_true: vdso_inc)
5*c52e4059SLaurent Vivier
6*c52e4059SLaurent Vivier
7*c52e4059SLaurent Viviersyscall_nr_generators += {
8*c52e4059SLaurent Vivier  'loongarch64': generator(sh,
9*c52e4059SLaurent Vivier                      arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
10*c52e4059SLaurent Vivier                      output: '@BASENAME@_nr.h')
11*c52e4059SLaurent Vivier}
12