basic: move basic/missing_syscall_defs.h -> include/override/sys/syscall.h
This also moves syscall tables and generators to the same directory. Note, inclusion of asm/sgidefs.h is dropped, as it is already included by unistd.h and sys/syscall.h.
This commit is contained in:
@@ -121,9 +121,6 @@ sources += basic_sources
|
||||
|
||||
missing_audit_h = files('missing_audit.h')
|
||||
|
||||
missing_syscall_def_h = files('missing_syscall_def.h')
|
||||
basic_sources += missing_syscall_def_h
|
||||
|
||||
generated_gperf_headers = []
|
||||
foreach item : [
|
||||
# name, source, struct name, prefix, headers
|
||||
@@ -176,50 +173,6 @@ basic_sources += generated_gperf_headers
|
||||
|
||||
############################################################
|
||||
|
||||
arch_list = [
|
||||
'alpha',
|
||||
'arc',
|
||||
'arm',
|
||||
'arm64',
|
||||
'i386',
|
||||
'ia64',
|
||||
'loongarch64',
|
||||
'm68k',
|
||||
'mips64',
|
||||
'mips64n32',
|
||||
'mipso32',
|
||||
'parisc',
|
||||
'powerpc',
|
||||
'powerpc64',
|
||||
'riscv32',
|
||||
'riscv64',
|
||||
's390',
|
||||
's390x',
|
||||
'sparc',
|
||||
'x86_64'
|
||||
]
|
||||
|
||||
run_target(
|
||||
'update-syscall-tables',
|
||||
command : [update_syscall_tables_sh, meson.current_source_dir()] + arch_list)
|
||||
|
||||
syscall_list_txt = files('syscall-list.txt')
|
||||
|
||||
syscall_lists = []
|
||||
foreach arch: arch_list
|
||||
syscall_lists += files('syscalls-@0@.txt'.format(arch))
|
||||
endforeach
|
||||
|
||||
missing_syscalls_py = find_program('missing_syscalls.py')
|
||||
|
||||
run_target(
|
||||
'update-syscall-header',
|
||||
command : [missing_syscalls_py,
|
||||
missing_syscall_def_h,
|
||||
syscall_lists])
|
||||
|
||||
############################################################
|
||||
|
||||
filesystem_includes = files(
|
||||
'../include/uapi/linux/magic.h',
|
||||
'missing_magic.h',
|
||||
|
||||
Reference in New Issue
Block a user