|
From: openocd-gerrit <ope...@us...> - 2024-10-20 09:21:45
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via bcf63ac56242b4060586761eb39b436e7fe2c1f7 (commit)
from edf2c82cf615af4926cc3536bbbafce2c55fe4e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bcf63ac56242b4060586761eb39b436e7fe2c1f7
Author: Antonio Borneo <bor...@gm...>
Date: Tue Oct 8 00:37:48 2024 +0200
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 <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/8520
Tested-by: jenkins
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 59a3eed12..01bd547ff 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -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 = '/*';
-----------------------------------------------------------------------
Summary of changes:
tools/scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|