[PATCH master] Convert License Identifiers to SPDX 3.0 for files originating from LiMon

Roland Hieber rhi at pengutronix.de
Fri Aug 4 02:46:51 PDT 2023


The respective U-Boot commit was ported to Barebox in commit
0b5d36d77b6022bd1f40 (2023-07-27, Sascha Hauer: "Add SPDX License
identifier for files originating from LiMon"), but the U-Boot change was
already made in 2014, and the SPDX specification was updated since then
and deprecated the "GPL-2.0" identifier in favour of "GPL-2.0-only".
Update the license identifiers to SPDX 3.0 specification, which we also
use everywhere else in the Barebox code.

Signed-off-by: Roland Hieber <rhi at pengutronix.de>
---
 include/net.h | 2 +-
 net/dhcp.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/net.h b/include/net.h
index b5a5e1b6168d..5e029c71f29e 100644
--- a/include/net.h
+++ b/include/net.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 // SPDX-FileCopyrightText: 1994-2000 Neil Russell
 /*
  * net.h - barebox networking support
diff --git a/net/dhcp.c b/net/dhcp.c
index 93738e5a6ba6..e1025bf91b02 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 // SPDX-FileCopyrightText: 1994, 1995, 2000 Neil Russell
 // SPDX-FileCopyrightText: 2000 Roland Borde
 // SPDX-FileCopyrightText: 2000 Paolo Scaffardi
-- 
2.39.2




More information about the barebox mailing list