checkpatch: check SPDX in Makefile
The firmware in contrib folder use Makefile for the build. Force checkpatch to check these Makefile for the SPDX. Change-Id: I815bf6df636c96a15f82c3d8a9de0c4f219303d2 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8520 Tested-by: jenkins
This commit is contained in:
parent
edf2c82cf6
commit
bcf63ac562
|
@ -3728,7 +3728,7 @@ sub process {
|
|||
} elsif ($realfile =~ /\.rst$/) {
|
||||
$comment = '..';
|
||||
# OpenOCD specific: Begin
|
||||
} elsif ($realfile =~ /\.(am|cfg|tcl)$/) {
|
||||
} elsif (($realfile =~ /\.(am|cfg|tcl)$/) || ($realfile =~ /\/Makefile$/)) {
|
||||
$comment = '#';
|
||||
} elsif ($realfile =~ /\.(ld)$/) {
|
||||
$comment = '/*';
|
||||
|
|
Loading…
Reference in New Issue