From e7702c20aa9d58efa03ea4a0baad65b01da7f3e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 28 Apr 2021 15:35:44 +0200 Subject: [PATCH] basic/missing-syscall: add regen instructions --- src/basic/missing_syscall_def.h | 6 +++++- src/basic/missing_syscalls.py | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/basic/missing_syscall_def.h b/src/basic/missing_syscall_def.h index f36c55abc30..84b79ecc092 100644 --- a/src/basic/missing_syscall_def.h +++ b/src/basic/missing_syscall_def.h @@ -1,5 +1,9 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later - * This file is generated. Do not edit! */ + * This file is generated by src/basic/missing_syscalls.py. Do not edit! + * + * Use 'ninja -C build update-syscall-tables' to download new syscall tables, + * and 'ninja -C build update-syscall-header' to regenerate this file. + */ /* Note: if this code looks strange, this is because it is derived from the same * template as the per-syscall blocks below. */ diff --git a/src/basic/missing_syscalls.py b/src/basic/missing_syscalls.py index 0234e6fc442..d3c68dc067d 100644 --- a/src/basic/missing_syscalls.py +++ b/src/basic/missing_syscalls.py @@ -128,7 +128,11 @@ def print_syscall_def(syscall, tables, out): def print_syscall_defs(syscalls, tables, out): print('''\ /* SPDX-License-Identifier: LGPL-2.1-or-later - * This file is generated. Do not edit! */ + * This file is generated by src/basic/missing_syscalls.py. Do not edit! + * + * Use 'ninja -C build update-syscall-tables' to download new syscall tables, + * and 'ninja -C build update-syscall-header' to regenerate this file. + */ ''', file=out) print(ARCH_CHECK, file=out) -- 2.47.3