openocd: src: replace the GPL with eCos exception 2.0 license tag
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 27 Jun 2022 13:44:05 +0000 (15:44 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Jul 2022 13:14:44 +0000 (13:14 +0000)
commit7907d982fa815cc0893c4bf8e588b8c3c639e1eb
tree03f90591fb078d01a5c5affedc2b4d22610c536e
parent1b682fc4da3cc18be2923e8ab92a6e82d3119bff
openocd: src: replace the GPL with eCos exception 2.0 license tag

Add the license exception text in the license pool.
Add the exception chapter in license-rules.txt
Replace the boilerplate with 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: Ied513b7c9c0722ed2a9c11dbdff3fbf59f1b41ce
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7061
Tested-by: jenkins
LICENSES/exceptions/eCos-exception-2.0 [new file with mode: 0644]
LICENSES/license-rules.txt
Makefile.am
src/flash/nand/ecc.c