summaryrefslogtreecommitdiffstats
path: root/scripts/spdxexclude
Commit message (Collapse)AuthorAgeFilesLines
* scripts/spdxcheck: Exclude top-level READMEThomas Gleixner2022-05-181-0/+1
| | | | | | | Nothing copyrightable to see here. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* scripts/spdxcheck: Exclude MAINTAINERS/CREDITSThomas Gleixner2022-05-181-0/+4
| | | | | | | | | | Listings of maintainers and people who deserve credits are not really interesting in terms of copyright. The usage of these files outside of the kernel is pointless and the file format is trivial. No point in chasing them or slapping a SPDX identifier into them just because. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* scripts/spdxcheck: Exclude config directoriesThomas Gleixner2022-05-181-0/+5
| | | | | | | | Kernel configuration files like default configs are machine generated and pretty useless outside of the kernel context. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* scripts/spdxcheck: Put excluded files and directories into a separate fileThomas Gleixner2022-05-181-0/+8
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>