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
} elsif ($realfile =~ /\.rst$/) {
$comment = '..';
# OpenOCD specific: Begin
- } elsif ($realfile =~ /\.(am|cfg|tcl)$/) {
+ } elsif (($realfile =~ /\.(am|cfg|tcl)$/) || ($realfile =~ /\/Makefile$/)) {
$comment = '#';
} elsif ($realfile =~ /\.(ld)$/) {
$comment = '/*';