]>
Commit | Line | Data |
---|---|---|
3a30446a MAL |
1 | subdir('nwfpe') |
2 | ||
3 | syscall_nr_generators += { | |
4 | 'arm': generator(sh, | |
5 | arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ], | |
6 | output: '@BASENAME@_nr.h') | |
7 | } | |
a9f495b9 RH |
8 | |
9 | # TARGET_BIG_ENDIAN is defined to 'n' for little-endian; which means it | |
10 | # is always true as far as source_set.apply() is concerned. Always build | |
11 | # both header files and include the right one via #if. | |
12 | ||
13 | vdso_be_inc = gen_vdso.process('vdso-be.so', | |
14 | extra_args: ['-s', 'sigreturn_codes']) | |
15 | ||
16 | vdso_le_inc = gen_vdso.process('vdso-le.so', | |
17 | extra_args: ['-s', 'sigreturn_codes']) | |
18 | ||
19 | linux_user_ss.add(when: 'TARGET_ARM', if_true: [vdso_be_inc, vdso_le_inc]) |