Skip to content

Commit 0c87410

Browse files
committed
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 <yamada.masahiro@socionext.com>
1 parent 979f2b2 commit 0c87410

42 files changed

Lines changed: 57 additions & 140 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎scripts/kconfig/conf.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
#include <ctype.h>

‎scripts/kconfig/confdata.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
#include <sys/stat.h>

‎scripts/kconfig/expr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
#include <stdio.h>

‎scripts/kconfig/expr.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
#ifndef EXPR_H

‎scripts/kconfig/gconf.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
/* Hey EMACS -*- linux-c -*- */
1+
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
*
43
* Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info>
5-
* Released under the terms of the GNU GPL v2.0.
6-
*
74
*/
85

96
#ifdef HAVE_CONFIG_H

‎scripts/kconfig/images.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
static const char *xpm_load[] = {

‎scripts/kconfig/lkc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3-
* Released under the terms of the GNU GPL v2.0.
44
*/
55

66
#ifndef LKC_H

‎scripts/kconfig/lxdialog/checklist.c‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* checklist.c -- implements the checklist box
34
*
45
* ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
56
* Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
67
* Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
78
* MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
8-
*
9-
* This program is free software; you can redistribute it and/or
10-
* modify it under the terms of the GNU General Public License
11-
* as published by the Free Software Foundation; either version 2
12-
* of the License, or (at your option) any later version.
13-
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with this program; if not, write to the Free Software
21-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
229
*/
2310

2411
#include "dialog.h"

‎scripts/kconfig/lxdialog/dialog.h‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* dialog.h -- common declarations for all dialog modules
34
*
45
* AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5-
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public License
8-
* as published by the Free Software Foundation; either version 2
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196
*/
207

218
#include <sys/types.h>

‎scripts/kconfig/lxdialog/inputbox.c‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* inputbox.c -- implements the input box
34
*
45
* ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
56
* MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6-
*
7-
* This program is free software; you can redistribute it and/or
8-
* modify it under the terms of the GNU General Public License
9-
* as published by the Free Software Foundation; either version 2
10-
* of the License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Public License
18-
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
207
*/
218

229
#include "dialog.h"

0 commit comments

Comments
 (0)