aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-08-30 17:25:24 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-13 22:05:50 +0000
commit2d48b8e012cf99f53cdd2a9130167c075717c7d7 (patch)
tree13e84ff7252b8971a48f15747a40652f812dd3c2 /contrib
parent25a374a187d760eddb87cbe639cb885b159b74b4 (diff)
downloadriscv-openocd-2d48b8e012cf99f53cdd2a9130167c075717c7d7.zip
riscv-openocd-2d48b8e012cf99f53cdd2a9130167c075717c7d7.tar.gz
riscv-openocd-2d48b8e012cf99f53cdd2a9130167c075717c7d7.tar.bz2
contrib: replace the GPLv3-or-later license tag
These files are not built in OpenOCD and are not in conflict with OpenOCD license. Replace the GPL boilerplate with the SPDX tag. Add the SPDX tag. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I934e4add24098f0e8574120b3bc32e9bcf166abd Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7157 Tested-by: jenkins
Diffstat (limited to 'contrib')
-rw-r--r--contrib/itmdump.c19
-rwxr-xr-xcontrib/rpc_examples/ocd_rpc_example.py2
-rw-r--r--contrib/rpc_examples/ocdrpc.hs4
3 files changed, 8 insertions, 17 deletions
diff --git a/contrib/itmdump.c b/contrib/itmdump.c
index 8809904..f31e1ff 100644
--- a/contrib/itmdump.c
+++ b/contrib/itmdump.c
@@ -1,19 +1,6 @@
-/*
- * Copyright (C) 2010 by David Brownell
- *
- * 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 3 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, see <http://www.gnu.org/licenses/>.
- */
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+
+/* Copyright (C) 2010 by David Brownell */
/*
* Simple utility to parse and dump ARM Cortex-M3 SWO trace output. Once the
diff --git a/contrib/rpc_examples/ocd_rpc_example.py b/contrib/rpc_examples/ocd_rpc_example.py
index e6146f6..53e3e2a 100755
--- a/contrib/rpc_examples/ocd_rpc_example.py
+++ b/contrib/rpc_examples/ocd_rpc_example.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: GPL-3.0-or-later
+
"""
OpenOCD RPC example, covered by GNU GPLv3 or later
Copyright (C) 2014 Andreas Ortmann (ortmann@finf.uni-hannover.de)
diff --git a/contrib/rpc_examples/ocdrpc.hs b/contrib/rpc_examples/ocdrpc.hs
index 8598641..6a92366 100644
--- a/contrib/rpc_examples/ocdrpc.hs
+++ b/contrib/rpc_examples/ocdrpc.hs
@@ -1,4 +1,6 @@
--- OpenOCD RPC example, covered by GNU GPLv3 or later
+-- SPDX-License-Identifier: GPL-3.0-or-later
+
+-- OpenOCD RPC example
-- Copyright (C) 2014 Paul Fertser
--
-- Example output: