]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/spdxcheck: Put excluded files and directories into a separate file
authorThomas Gleixner <tglx@linutronix.de>
Mon, 16 May 2022 10:27:29 +0000 (12:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 May 2022 13:34:33 +0000 (15:34 +0200)
commitc557f749475ceb31017ab9600a025468f83c5c13
treea147fa9928b8227e6357f9f2908ec0ac42af7d63
parentade0d940eb631c2e08391a8999d4cc748fa515a3
scripts/spdxcheck: Put excluded files and directories into a separate file

The files and directories which are excluded from scanning are currently
hard coded in the script. That's not maintainable and not accessible for
external tools.

Move the files and directories which should be excluded into a file.  The
default file is scripts/spdxexclude. This can be overridden with the
'-e $FILE' command line option.

The file format and syntax is similar to the .gitignore file.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/spdxcheck.py
scripts/spdxexclude [new file with mode: 0644]