qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] linux-user: Add license in files generated by scripts/gensyscall


From: Philippe Mathieu-Daudé
Subject: [PATCH] linux-user: Add license in files generated by scripts/gensyscalls.sh
Date: Wed, 17 Nov 2021 18:48:33 +0100

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 scripts/gensyscalls.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh
index 8fb450e3c96..aee5cc64a15 100755
--- a/scripts/gensyscalls.sh
+++ b/scripts/gensyscalls.sh
@@ -75,7 +75,8 @@ generate_syscall_nr()
     file="$3"
     guard="$(upper LINUX_USER_$(qemu_arch $arch)_$(basename "$file"))"
 
-    (echo "/*"
+    (echo "/* SPDX-License-Identifier: GPL-2.0-or-later */"
+    echo "/*"
     echo " * This file contains the system call numbers."
     echo " * Do not modify."
     echo " * This file is generated by scripts/gensyscalls.sh"
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]