[PATCH 6/7] dtc: Add GPLv2 SPDX tags to files missing license text

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



A couple of dtc files are missing licenses. Add GPL-2.0-or-later SPDX
tag to them.

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
 Makefile                | 1 +
 Makefile.convert-dtsv0  | 1 +
 Makefile.utils          | 1 +
 dtdiff                  | 1 +
 fdtdump.c               | 1 +
 scripts/kup-dtc         | 1 +
 scripts/setlocalversion | 1 +
 7 files changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 0cb2bfeef9a9..98f74b105c81 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Device Tree Compiler
 #
diff --git a/Makefile.convert-dtsv0 b/Makefile.convert-dtsv0
index 08ea40a03a71..c12ed40e7d96 100644
--- a/Makefile.convert-dtsv0
+++ b/Makefile.convert-dtsv0
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # This is not a complete Makefile of itself.
 # Instead, it is designed to be easily embeddable
diff --git a/Makefile.utils b/Makefile.utils
index e0289229e6a5..9436b34d791f 100644
--- a/Makefile.utils
+++ b/Makefile.utils
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # This is not a complete Makefile of itself.  Instead, it is designed to
 # be easily embeddable into other systems of Makefiles.
diff --git a/dtdiff b/dtdiff
index 5fa772b0ab62..cdbf0791e00c 100644
--- a/dtdiff
+++ b/dtdiff
@@ -1,4 +1,5 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # This script uses the bash <(...) extension.
 # If you want to change this to work with a generic /bin/sh, make sure
diff --git a/fdtdump.c b/fdtdump.c
index 200fb06be1ca..9613befede71 100644
--- a/fdtdump.c
+++ b/fdtdump.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * fdtdump.c - Contributed by Pantelis Antoniou <pantelis.antoniou AT gmail.com>
  */
diff --git a/scripts/kup-dtc b/scripts/kup-dtc
index e18abbb8c966..3c3376ce2a8b 100755
--- a/scripts/kup-dtc
+++ b/scripts/kup-dtc
@@ -1,4 +1,5 @@
 #! /bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 REMOTE_GIT=/pub/scm/utils/dtc/dtc.git
 REMOTE_PATH=/pub/software/utils/dtc
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index 82e4993f0a73..ea333e7f34c1 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Print additional version information for non-release trees.
 
 usage() {
-- 
2.20.1




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux