From: Masahiro Yamada Date: Tue, 18 Dec 2018 12:13:35 +0000 (+0900) Subject: kconfig: convert to SPDX License Identifier X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=18b696a20bbca64a93dfecae0fdff3fb0dc85166 kconfig: convert to SPDX License Identifier All files in lxdialog/ are licensed under GPL-2.0+, and the rest are under GPL-2.0. I added GPL-2.0 tags to test scripts in tests/. Documentation/process/license-rules.rst does not suggest anything about the flex/bison files. Because flex does not accept the C++ comment style at the very top of a file, I used the C style for zconf.l, and so for zconf.y for consistency. Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- diff --git a/config/conf.c b/config/conf.c index bd04217..89d87de 100644 --- a/config/conf.c +++ b/config/conf.c @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/confdata.c b/config/confdata.c index f6168f2..6df907a 100644 --- a/config/confdata.c +++ b/config/confdata.c @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/expr.c b/config/expr.c index 57ebf71..3ff8c92 100644 --- a/config/expr.c +++ b/config/expr.c @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/expr.h b/config/expr.h index 2b7e222..999edb6 100644 --- a/config/expr.h +++ b/config/expr.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #ifndef EXPR_H diff --git a/config/lkc.h b/config/lkc.h index ff6b3e4..4ff33cd 100644 --- a/config/lkc.h +++ b/config/lkc.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #ifndef LKC_H diff --git a/config/menu.c b/config/menu.c index 7e2b2c9..d9d1646 100644 --- a/config/menu.c +++ b/config/menu.c @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/symbol.c b/config/symbol.c index 2e6bf36..d145783 100644 --- a/config/symbol.c +++ b/config/symbol.c @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/util.c b/config/util.c index d999683..2958539 100644 --- a/config/util.c +++ b/config/util.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002-2005 Roman Zippel * Copyright (C) 2002-2005 Sam Ravnborg - * - * Released under the terms of the GNU GPL v2.0. */ #include diff --git a/config/zconf.l b/config/zconf.l index 8d4ac8c..5e109e8 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2002 Roman Zippel + */ %option nostdinit noyywrap never-interactive full ecs %option 8bit nodefault yylineno %x ASSIGN_VAL HELP STRING %{ -/* - * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. - */ #include #include diff --git a/config/zconf.y b/config/zconf.y index aedcbc2..4394ef9 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -1,8 +1,8 @@ -%{ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. */ +%{ #include #include