checkpatch: check for SPDX tags of licenses in use
[fw/openocd] / tools / scripts / spdxcheck.py
index 18cb9f5b3d3d6900a82a65d42b74f81ba0e08dd8..f88294379074f737741120d360492abf754e4a95 100755 (executable)
@@ -49,7 +49,9 @@ def read_spdxdata(repo):
 
     # The subdirectories of LICENSES in the kernel source
     # Note: exceptions needs to be parsed as last directory.
-    license_dirs = [ "preferred", "dual", "deprecated", "exceptions" ]
+    # OpenOCD specific: Begin
+    license_dirs = [ "preferred", "stand-alone", "exceptions" ]
+    # OpenOCD specific: End
     lictree = repo.head.commit.tree['LICENSES']
 
     spdx = SPDXdata()