musl: build without gnu make
This commit is contained in:
parent
1b869812b8
commit
64ec36b51a
7 changed files with 271 additions and 12 deletions
28
linux/musl/bits.meson.build
Normal file
28
linux/musl/bits.meson.build
Normal file
|
@ -0,0 +1,28 @@
|
|||
alltypes_h = custom_target(
|
||||
'alltypes.h',
|
||||
output : 'alltypes.h',
|
||||
input : [
|
||||
meson.project_source_root() + '/tools/mkalltypes.sed',
|
||||
meson.project_source_root() + '/arch/'+arch+'/bits/alltypes.h.in',
|
||||
meson.project_source_root() + '/include/alltypes.h.in'
|
||||
],
|
||||
command : ['sed', '-f', '@INPUT0@', '@INPUT1@', '@INPUT2@'],
|
||||
capture : true
|
||||
)
|
||||
|
||||
syscall_h_in = custom_target(
|
||||
'syscall.in',
|
||||
output : 'syscall.in',
|
||||
input : meson.project_source_root() + '/arch/'+arch+'/bits/syscall.h.in',
|
||||
command : ['sed', '-n', '-e', 's/__NR_/SYS_/p', '@INPUT@'],
|
||||
capture : true
|
||||
)
|
||||
|
||||
syscall_h = custom_target(
|
||||
'syscall.h',
|
||||
output : 'syscall.h',
|
||||
input : [ meson.project_source_root() + '/arch/'+arch+'/bits/syscall.h.in', syscall_h_in ],
|
||||
command : ['cat', '@INPUT0@', '@INPUT1@'],
|
||||
capture : true
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue