HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/include/override/sys/meson.build

1,038 bytesGit mode 100644Download original fileLGPL-2.1-or-later

Git blob: 9bcc29f390a014393da9217b4368ae6725154b25

Lines 1–45 of 45

# SPDX-License-Identifier: LGPL-2.1-or-later
 
arch_list = [
        'alpha',
        'arc',
        'arm',
        'arm64',
        'i386',
        'ia64',
        'loongarch64',
        'm68k',
        'mips64',
        'mips64n32',
        'mipso32',
        'parisc',
        'powerpc',
        'powerpc64',
        'riscv32',
        'riscv64',
        'sh',
        '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
        # We don't use files() here so that the 'update-syscall-tables' call
        # above can run if arch_list is extended.
        syscall_lists += meson.current_source_dir() / f'syscalls-@arch@.txt'
endforeach
 
run_target(
        'update-syscall-header',
        command : [files('generate-syscall.py'),
                   files('syscall.h'),
                   syscall_lists])