summaryrefslogtreecommitdiffstats
path: root/scripts/spdxcheck.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts/spdxcheck.py: Use Python 3Antony Pavlov2021-05-031-1/+1
| | | | | | | | | | | | | | | | | | Based on this linux kernel commit: > commit d0259c42abff51b586496a0594933e394efefbc5 > Author: Bert Vermeulen <bert@biot.com> > Date: Thu Jan 21 09:54:12 2021 +0100 > > spdxcheck.py: Use Python 3 > > Python 2.x has been officially EOL'ed for some time, and in any case > the git module for it is hard to come by. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20210416091404.92251-1-antonynpavlov@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* LICENSES: add used licenses to make spdxcheck happyUwe Kleine-König2020-09-211-1/+2
| | | | | | | | | | | | 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>
* scripts/spdxcheck: fix usage of non-existing variablesUwe Kleine-König2020-09-211-2/+2
| | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* checkpatch: add upstream checkpatch v5.1 dependenciesAhmad Fatoum2019-05-211-0/+292
In preperation for pulling in the v5.1 checkpatch, we need to first add some files it depends on that aren't available in barebox: - cleanfile, cleanpatch, spelling.txt: we copy those over as-is - spdxcheck.py: expects the existence of "other" and "exceptions" directories, which we don't need in barebox, thus they are patched out. - const_structs.checkpatch: added file_operations for now. More can follow - get_maintainer.pl: implemented a dummy to keep changes in checkpatch.pl to a minimum Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>