From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Fri, 26 Mar 2021 22:06:47 +0100 Message-Id: <20210326210647.8648-4-rhi@pengutronix.de> In-Reply-To: <20210326210647.8648-1-rhi@pengutronix.de> References: <20210326210647.8648-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [OSS-Tools] [PATCH dt-utils 4/4] treewide: add SPDX identifiers to files without license List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: oss-tools-bounces@pengutronix.de Sender: "OSS-Tools" To: oss-tools@pengutronix.de Cc: Roland Hieber The project license has been GPL-2.0-only since commit 2b39a389428224d96bbb (2014-11-27, Sascha Hauer: "COPYING: Change to GPLv2"). Reflect this in the file headers. Signed-off-by: Roland Hieber --- Makefile.am | 2 ++ NEWS | 2 ++ README | 2 ++ autogen.sh | 1 + configure.ac | 2 ++ scripts/barebox-mark-successful-boot.sh | 1 + src/barebox-state.h | 2 ++ src/barebox-state/state.h | 2 ++ src/base64.h | 2 ++ src/crypto/sha.h | 1 + src/dt/common.h | 2 ++ src/dt/dt.h | 2 ++ src/dt/fdt.h | 2 ++ src/dt/list.h | 2 ++ src/dtblint.h | 1 + src/fdt.h | 2 ++ src/fdtdump.c | 2 ++ src/fs.h | 2 ++ src/libbb.h | 2 ++ src/linux/list.h | 1 + src/linux/mtd/mtd-abi.h | 1 + src/of.h | 1 + src/printk.h | 1 + src/state.h | 1 + 24 files changed, 39 insertions(+) diff --git a/Makefile.am b/Makefile.am index d3077317ce9a..960ac4902af5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + EXTRA_DIST = DCO CLEANFILES = ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} diff --git a/NEWS b/NEWS index e27f5efe20ac..fa169f9498d6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + dt-utils 2021.03.0 ================== diff --git a/README b/README index 20c9e3484ed2..c56f4c549d0a 100644 --- a/README +++ b/README @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + Utilities to work with device trees in Linux userspace The following tools are available: diff --git a/autogen.sh b/autogen.sh index 0d60b0a96e9a..0c0353a20edd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,5 @@ #!/bin/sh -e +# SPDX-License-Identifier: GPL-2.0-only if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ diff --git a/configure.ac b/configure.ac index 16cbbd075321..87668587ad40 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + AC_PREREQ(2.60) AC_INIT([dt-utils], [2021.03.0], diff --git a/scripts/barebox-mark-successful-boot.sh b/scripts/barebox-mark-successful-boot.sh index 3120f57450fa..8aecabfc1912 100644 --- a/scripts/barebox-mark-successful-boot.sh +++ b/scripts/barebox-mark-successful-boot.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only DEFAULT_REMAINING_ATTEMPTS=3 DEFAULT_PRIORITY=20 diff --git a/src/barebox-state.h b/src/barebox-state.h index a0f49a549649..d007fc4ea191 100644 --- a/src/barebox-state.h +++ b/src/barebox-state.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef __BAREBOX_STATE__ #define __BAREBOX_STATE__ diff --git a/src/barebox-state/state.h b/src/barebox-state/state.h index 912d6d484823..47d8442f184e 100644 --- a/src/barebox-state/state.h +++ b/src/barebox-state/state.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include #include #include diff --git a/src/base64.h b/src/base64.h index 6ce0885822da..e0bbe4baa819 100644 --- a/src/base64.h +++ b/src/base64.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef __BASE64_H #define __BASE64_H diff --git a/src/crypto/sha.h b/src/crypto/sha.h index 190f8a0e0242..355bb76171c8 100644 --- a/src/crypto/sha.h +++ b/src/crypto/sha.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Common values for SHA algorithms */ diff --git a/src/dt/common.h b/src/dt/common.h index c3c4f53fc216..3efe43b5cd5a 100644 --- a/src/dt/common.h +++ b/src/dt/common.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef __DT_COMMON_H #define __DT_COMMON_H diff --git a/src/dt/dt.h b/src/dt/dt.h index 4ae24ba8bf7a..2fbb4e0f8059 100644 --- a/src/dt/dt.h +++ b/src/dt/dt.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef __DT_DT_H #define __DT_DT_H diff --git a/src/dt/fdt.h b/src/dt/fdt.h index 35278e30304b..cfa153077a32 100644 --- a/src/dt/fdt.h +++ b/src/dt/fdt.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef _FDT_H #define _FDT_H diff --git a/src/dt/list.h b/src/dt/list.h index c17b5d4b9ba1..87c5e1cb3a23 100644 --- a/src/dt/list.h +++ b/src/dt/list.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef _LINUX_LIST_H #define _LINUX_LIST_H diff --git a/src/dtblint.h b/src/dtblint.h index 4efd5865a988..896bfe8ba9f5 100644 --- a/src/dtblint.h +++ b/src/dtblint.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ void dtblint_imx_pinmux(void); diff --git a/src/fdt.h b/src/fdt.h index 261743394803..95c15f37ea05 100644 --- a/src/fdt.h +++ b/src/fdt.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef _FDT_H #define _FDT_H diff --git a/src/fdtdump.c b/src/fdtdump.c index 1b609da0719a..e9323c8f4d80 100644 --- a/src/fdtdump.c +++ b/src/fdtdump.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include #include #include diff --git a/src/fs.h b/src/fs.h index 8b05b1aaf1ba..3f8be4aad216 100644 --- a/src/fs.h +++ b/src/fs.h @@ -1 +1,3 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include diff --git a/src/libbb.h b/src/libbb.h index 9f9d32d12d94..0a88f68121e0 100644 --- a/src/libbb.h +++ b/src/libbb.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef __LIBBB_H #define __LIBBB_H diff --git a/src/linux/list.h b/src/linux/list.h index 83c6d7534446..5bcf36d9a5a3 100644 --- a/src/linux/list.h +++ b/src/linux/list.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #include
diff --git a/src/linux/mtd/mtd-abi.h b/src/linux/mtd/mtd-abi.h index bd0de7680856..848d61cda4fe 100644 --- a/src/linux/mtd/mtd-abi.h +++ b/src/linux/mtd/mtd-abi.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #include diff --git a/src/of.h b/src/of.h index 4cbf197439ca..7e3a447081a5 100644 --- a/src/of.h +++ b/src/of.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __OF_H #define __OF_H diff --git a/src/printk.h b/src/printk.h index a0adcaaed223..f0fcbd6d8c57 100644 --- a/src/printk.h +++ b/src/printk.h @@ -1 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #include
diff --git a/src/state.h b/src/state.h index d98b781c2089..be1b592576c1 100644 --- a/src/state.h +++ b/src/state.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __STATE_H #define __STATE_H -- 2.29.2 _______________________________________________ OSS-Tools mailing list OSS-Tools@pengutronix.de