checkpatch: check for SPDX tags of licenses in use
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 26 Apr 2020 14:03:45 +0000 (16:03 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 18 Sep 2022 08:19:47 +0000 (08:19 +0000)
commit8b4d9503d866bd7f70f743c3422076ba9ac9d58f
treeabd4e0367a745bb01fe9c5e948b2f8350110eca1
parentb0c36e0457446b76b32ca13db3e51f66b540d159
checkpatch: check for SPDX tags of licenses in use

Fix the patch of the external helper spdxcheck.py accordingly to
OpenOCD folder structure.
List only the current LICENSES subfolders in spdxcheck.py .
Enable the check for SPDX headers.
Extend the check for TCL and Makefile.am files.

Change-Id: I0a40da0127746217ee0ac416058d5ceb922428ff
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5608
Tested-by: jenkins
.checkpatch.conf
tools/scripts/checkpatch.pl
tools/scripts/spdxcheck.py