diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-09-18 10:19:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-21 08:28:19 +0200 |
commit | e42af5d4151100f2d41c1eea1b4399ecd5eed752 (patch) | |
tree | 4e0965552eb3f49ce6b948e99e40a19bc77f6fef /scripts | |
parent | d6753cfcf344947790fc7ab12874667fd593fa34 (diff) | |
download | barebox-e42af5d4151100f2d41c1eea1b4399ecd5eed752.tar.gz |
LICENSES: add used licenses to make spdxcheck happy
These are copied from the Linux kernel (5.9-rc3). From the
Linux-syscall-note exception a few items had to be removed from the
SPDX-Licenses: list to make spdxcheck happy. Also drop deprecated names
like LGPL-2.1 (use LGPL-2.1-only instead) and LGPL-2.1+ (use
LGPL-2.1-or-later instead). Also drop the LGPL-2.1-or-later file, this
license is handled in the LGPL-2.1 file.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/spdxcheck.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 7e08c6e413..6374e078a5 100755 --- a/scripts/spdxcheck.py +++ b/scripts/spdxcheck.py @@ -32,7 +32,8 @@ class SPDXdata(object): def read_spdxdata(repo): # The subdirectories of LICENSES in the kernel source - license_dirs = [ "preferred" ] + # Note: exceptions needs to be parsed as last directory. + license_dirs = [ "preferred", "dual", "deprecated", "exceptions" ] lictree = repo.head.commit.tree['LICENSES'] spdx = SPDXdata() |