This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8520

-- gerrit

commit ef6335d6a5428bcea523f26aef77e17c4db09960
Author: Antonio Borneo <borneo.anto...@gmail.com>
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 <borneo.anto...@gmail.com>

diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 59a3eed121..01bd547ff5 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 = '/*';

-- 

Reply via email to