diff mbox series

REUSE: add missing SPDX id in scripts

Message ID 20210430114841.56614-1-stefano.babic@babic.homelinux.org
State Accepted
Headers show
Series REUSE: add missing SPDX id in scripts | expand

Commit Message

Stefano Babic April 30, 2021, 11:48 a.m. UTC
From: Stefano Babic <sbabic@denx.de>

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 scripts/acceptance-tests/CheckImage.mk | 14 +-------------
 scripts/acceptance-tests/Makefile      | 14 +-------------
 scripts/kconfig/conf.c                 |  3 ++-
 scripts/kconfig/confdata.c             |  3 ++-
 scripts/kconfig/expr.c                 |  3 ++-
 scripts/kconfig/expr.h                 |  3 ++-
 scripts/kconfig/gconf.c                |  2 +-
 scripts/kconfig/images.c               |  3 ++-
 scripts/kconfig/kxgettext.c            |  4 ++--
 scripts/kconfig/lkc.h                  |  3 ++-
 scripts/kconfig/lxdialog/checklist.c   | 22 +++++-----------------
 scripts/kconfig/lxdialog/dialog.h      | 16 ++--------------
 scripts/kconfig/lxdialog/inputbox.c    | 18 +++---------------
 scripts/kconfig/lxdialog/menubox.c     | 18 +++---------------
 scripts/kconfig/lxdialog/textbox.c     | 19 ++++---------------
 scripts/kconfig/lxdialog/util.c        | 18 +++---------------
 scripts/kconfig/lxdialog/yesno.c       | 18 +++---------------
 scripts/kconfig/mconf.c                |  7 ++++---
 scripts/kconfig/menu.c                 |  3 ++-
 scripts/kconfig/merge_config.sh        |  8 +-------
 scripts/kconfig/nconf.c                |  3 ++-
 scripts/kconfig/nconf.gui.c            |  3 ++-
 scripts/kconfig/nconf.h                |  3 ++-
 scripts/kconfig/qconf.cc               |  3 ++-
 scripts/kconfig/qconf.h                |  3 ++-
 scripts/kconfig/streamline_config.pl   |  3 ++-
 scripts/kconfig/symbol.c               |  3 ++-
 scripts/kconfig/util.c                 |  2 +-
 scripts/kconfig/zconf.l                |  3 ++-
 scripts/kconfig/zconf.y                |  3 ++-
 scripts/mkconfigs                      | 14 +-------------
 31 files changed, 67 insertions(+), 175 deletions(-)
diff mbox series

Patch

diff --git a/scripts/acceptance-tests/CheckImage.mk b/scripts/acceptance-tests/CheckImage.mk
index 02e0e6c..ab691ad 100644
--- a/scripts/acceptance-tests/CheckImage.mk
+++ b/scripts/acceptance-tests/CheckImage.mk
@@ -1,19 +1,7 @@ 
 # (C) Copyright 2016
 # Denis Osterland, Diehl Connectivity Solutions GmbH, Denis.Osterland@diehl.com.
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc.
+#  SPDX-License-Identifier:     GPL-2.0-or-later
 
 #
 # test commands for --check command-line option
diff --git a/scripts/acceptance-tests/Makefile b/scripts/acceptance-tests/Makefile
index ee205ef..86debab 100644
--- a/scripts/acceptance-tests/Makefile
+++ b/scripts/acceptance-tests/Makefile
@@ -1,19 +1,7 @@ 
 # (C) Copyright 2016
 # Denis Osterland, Diehl Connectivity Solutions GmbH, Denis.Osterland@diehl.com.
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc.
+# SPDX-License-Identifier:     GPL-2.0-or-later
 
 .NOTPARALLEL:
 
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 6c20431..efc84e2 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <locale.h>
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 8b2bef2..2356c77 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <sys/stat.h>
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c
index b4e4940..965dc6a 100644
--- a/scripts/kconfig/expr.c
+++ b/scripts/kconfig/expr.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <stdio.h>
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 973b6f7..5edbb30 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #ifndef EXPR_H
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 26d208b..61b4ee6 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -2,8 +2,8 @@ 
 /*
  *
  * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info>
- * Released under the terms of the GNU GPL v2.0.
  *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/scripts/kconfig/images.c b/scripts/kconfig/images.c
index d4f84bd..da1ceec 100644
--- a/scripts/kconfig/images.c
+++ b/scripts/kconfig/images.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 static const char *xpm_load[] = {
diff --git a/scripts/kconfig/kxgettext.c b/scripts/kconfig/kxgettext.c
index 2858738..c5ee5a4 100644
--- a/scripts/kconfig/kxgettext.c
+++ b/scripts/kconfig/kxgettext.c
@@ -1,7 +1,7 @@ 
 /*
- * Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 2005
+ * (C) Copyright Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 2005
  *
- * Released under the terms of the GNU GPL v2.0
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <stdlib.h>
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 91ca126..c891118 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #ifndef LKC_H
diff --git a/scripts/kconfig/lxdialog/checklist.c b/scripts/kconfig/lxdialog/checklist.c
index 8d016fa..a24c05a 100644
--- a/scripts/kconfig/lxdialog/checklist.c
+++ b/scripts/kconfig/lxdialog/checklist.c
@@ -1,24 +1,12 @@ 
 /*
  *  checklist.c -- implements the checklist box
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *     Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
- *     Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
+ *  Copyright (C) Savio Lam (lam836@cs.cuhk.hk)
+ *  Copyright (C) Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
+ *  Copyright (C) Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
+ *  Copyright (C) William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include "dialog.h"
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h
index fcffd5b..a4c3ee3 100644
--- a/scripts/kconfig/lxdialog/dialog.h
+++ b/scripts/kconfig/lxdialog/dialog.h
@@ -1,21 +1,9 @@ 
 /*
  *  dialog.h -- common declarations for all dialog modules
  *
- *  AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
+ *  Copyright (C) Savio Lam (lam836@cs.cuhk.hk)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include <sys/types.h>
diff --git a/scripts/kconfig/lxdialog/inputbox.c b/scripts/kconfig/lxdialog/inputbox.c
index d58de1d..319bb5f 100644
--- a/scripts/kconfig/lxdialog/inputbox.c
+++ b/scripts/kconfig/lxdialog/inputbox.c
@@ -1,22 +1,10 @@ 
 /*
  *  inputbox.c -- implements the input box
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
+ *  Copyright (C) Savio Lam (lam836@cs.cuhk.hk)
+ *  Copyright (C) William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include "dialog.h"
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c
index 11ae9ad..b96cd82 100644
--- a/scripts/kconfig/lxdialog/menubox.c
+++ b/scripts/kconfig/lxdialog/menubox.c
@@ -1,22 +1,10 @@ 
 /*
  *  menubox.c -- implements the menu box
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcapw@cfw.com)
+ *  Copyright (C) Savio Lam (lam836@cs.cuhk.hk)
+ *  Copyright (C) William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 /*
diff --git a/scripts/kconfig/lxdialog/textbox.c b/scripts/kconfig/lxdialog/textbox.c
index 1773319..70eb28f 100644
--- a/scripts/kconfig/lxdialog/textbox.c
+++ b/scripts/kconfig/lxdialog/textbox.c
@@ -1,22 +1,11 @@ 
 /*
  *  textbox.c -- implements the text box
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
+ * 
+ *  (C) Copyright Savio Lam (lam836@cs.cuhk.hk)
+ *  (C) Copyright William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include "dialog.h"
diff --git a/scripts/kconfig/lxdialog/util.c b/scripts/kconfig/lxdialog/util.c
index 2a0d182..f124dd4 100644
--- a/scripts/kconfig/lxdialog/util.c
+++ b/scripts/kconfig/lxdialog/util.c
@@ -1,22 +1,10 @@ 
 /*
  *  util.c
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
+ *  Copyright (C) Savio Lam (lam836@cs.cuhk.hk)
+ *  Copyright (C) William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include <stdarg.h>
diff --git a/scripts/kconfig/lxdialog/yesno.c b/scripts/kconfig/lxdialog/yesno.c
index 676fb2f..c2ba5d8 100644
--- a/scripts/kconfig/lxdialog/yesno.c
+++ b/scripts/kconfig/lxdialog/yesno.c
@@ -1,22 +1,10 @@ 
 /*
  *  yesno.c -- implements the yes/no box
  *
- *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
- *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
+ *  (C) Copyright Savio Lam (lam836@cs.cuhk.hk)
+ *  (C) Copyright William Roadcap (roadcap@cfw.com)
  *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  SPDX-License-Identifier:     GPL-2.0-or-later
  */
 
 #include "dialog.h"
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 315ce2c..e92b6bf 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -1,11 +1,12 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
  *
  * Introduced single menu mode (show all sub-menus in one large tree).
- * 2002-11-06 Petr Baudis <pasky@ucw.cz>
+ * Copyright (C) 2002-11-06 Petr Baudis <pasky@ucw.cz>
  *
- * i18n, 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br>
+ * Copyright (C) 2005, Arnaldo Carvalho de Melo <acme@conectiva.com.br>
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <ctype.h>
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index b05cc3d..38d821c 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <ctype.h>
diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index ec8e203..28d4e59 100755
--- a/scripts/kconfig/merge_config.sh
+++ b/scripts/kconfig/merge_config.sh
@@ -11,14 +11,8 @@ 
 #  Copyright (c) 2009-2010 Wind River Systems, Inc.
 #  Copyright 2011 Linaro
 #
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License version 2 as
-#  published by the Free Software Foundation.
+# SPDX-License-Identifier:     GPL-2.0-only
 #
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#  See the GNU General Public License for more details.
 
 clean_up() {
 	rm -f $TMP_FILE
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index d42d534..86912c1 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  *
  * Derived from menuconfig.
  *
diff --git a/scripts/kconfig/nconf.gui.c b/scripts/kconfig/nconf.gui.c
index 8275f0e..968dbde 100644
--- a/scripts/kconfig/nconf.gui.c
+++ b/scripts/kconfig/nconf.gui.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  *
  * Derived from menuconfig.
  *
diff --git a/scripts/kconfig/nconf.h b/scripts/kconfig/nconf.h
index 0d52617..b4feda2 100644
--- a/scripts/kconfig/nconf.h
+++ b/scripts/kconfig/nconf.h
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  *
  * Derived from menuconfig.
  *
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index c3bb7fe..5b4dbd6 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <qglobal.h>
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index bde0c6b..fef1633 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #if QT_VERSION < 0x040000
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index ef10454..7869c5b 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -1,7 +1,8 @@ 
 #!/usr/bin/perl -w
 #
 # Copyright 2005-2009 - Steven Rostedt
-# Licensed under the terms of the GNU GPL License version 2
+#
+#  SPDX-License-Identifier:     GPL-2.0-only
 #
 #  It's simple enough to figure out how this works.
 #  If not, then you can ask me at stripconfig@goodmis.org
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index 70c5ee1..11eba65 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -1,6 +1,7 @@ 
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <ctype.h>
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c
index 0e76042..f6176f7 100644
--- a/scripts/kconfig/util.c
+++ b/scripts/kconfig/util.c
@@ -2,7 +2,7 @@ 
  * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org>
  * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org>
  *
- * Released under the terms of the GNU GPL v2.0.
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <stdarg.h>
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 200a3fe..a0df5a8 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -5,7 +5,8 @@ 
 %{
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <limits.h>
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index 71bf8bf..66c2e5c 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/zconf.y
@@ -1,7 +1,8 @@ 
 %{
 /*
  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
- * Released under the terms of the GNU GPL v2.0.
+ *
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 
 #include <ctype.h>
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 13405da..73f551f 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -5,19 +5,7 @@ 
 # Copyright (C) 2002 Al Stone <ahs3 at fc.hp.com>
 # Copyright (C) 2002 Hewlett-Packard Company
 #
-#   This program is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   This program is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# SPDX-License-Identifier:     GPL-2.0-or-later
 #
 #   Busybox version by Matteo Croce <3297627799 at wind.it>
 #