From: Roland Hieber <rhi@pengutronix.de>
To: oss-tools@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [OSS-Tools] [PATCH dt-utils 4/4] treewide: add SPDX identifiers to files without license
Date: Fri, 26 Mar 2021 22:06:47 +0100 [thread overview]
Message-ID: <20210326210647.8648-4-rhi@pengutronix.de> (raw)
In-Reply-To: <20210326210647.8648-1-rhi@pengutronix.de>
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 <rhi@pengutronix.de>
---
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 <linux/types.h>
#include <linux/list.h>
#include <driver.h>
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 <errno.h>
#include <stdio.h>
#include <unistd.h>
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 <sys/mman.h>
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 <dt/list.h>
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 <mtd/mtd-abi.h>
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 <dt/common.h>
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
next prev parent reply other threads:[~2021-03-26 21:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 21:06 [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license Roland Hieber
2021-03-26 21:06 ` [OSS-Tools] [PATCH dt-utils 2/4] treewide: add SPDX identifiers to files with GPL-2.0-only license Roland Hieber
2021-03-30 12:50 ` Uwe Kleine-König
2021-03-26 21:06 ` [OSS-Tools] [PATCH dt-utils 3/4] treewide: add SPDX identifier to files with Zlib license Roland Hieber
2021-03-30 12:55 ` Uwe Kleine-König
2021-03-26 21:06 ` Roland Hieber [this message]
2021-03-30 11:08 ` [OSS-Tools] [PATCH dt-utils 1/4] treewide: add SPDX identifiers to files with GPL-2.0-or-later license Roland Hieber
2021-03-30 11:22 ` Ahmad Fatoum
2021-03-30 13:30 ` Uwe Kleine-König
2021-03-30 13:50 ` Ahmad Fatoum
2021-03-30 14:00 ` Uwe Kleine-König
2021-03-30 14:04 ` Ahmad Fatoum
2021-03-30 15:53 ` Roland Hieber
2021-03-30 17:31 ` Ahmad Fatoum
2021-03-31 10:03 ` Roland Hieber
2021-03-31 10:10 ` Roland Hieber
2021-03-30 12:49 ` Uwe Kleine-König
2023-08-01 10:10 ` Roland Hieber
2023-08-01 10:12 ` Roland Hieber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210326210647.8648-4-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=oss-tools@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox