[patch 6/9] scripts/spdxcheck: Exclude config directories

From: Thomas Gleixner
Date: Mon May 16 2022 - 06:28:14 EST


Kernel configuration files like default configs are machine generated and
pretty useless outside of the kernel context.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
scripts/spdxexclude | 5 +++++
1 file changed, 5 insertions(+)

--- a/scripts/spdxexclude
+++ b/scripts/spdxexclude
@@ -6,3 +6,8 @@
# create lots of noise for no value
LICENSES/
license-rules.rst
+
+# Ignore config files and snippets. The majority is generated
+# by the Kconfig tools
+kernel/configs/
+arch/*/configs/