]> 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)
commit8b0774337d5456364fda8a1f1742498364528d9f
treea147fa9928b8227e6357f9f2908ec0ac42af7d63
parent4a5bc7d63a0161f7e606b9fa9a91c96d2e142478
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]