scripts: add SPDX-License-Identifier check to checkpatch.pl
authorChristian Lamparter <[email protected]>
Sat, 30 Mar 2019 10:05:30 +0000 (11:05 +0100)
committerChristian Lamparter <[email protected]>
Tue, 9 Jun 2020 22:33:32 +0000 (00:33 +0200)
commite38c1120453967704400fdf4bf9a705eca6b3fb0
tree6efb1e9b13f8c21bd6c8eaadeb5e21a44aed444f
parent97c9ba90ce88222b9ef5a49b235e05c507b48b0e
scripts: add SPDX-License-Identifier check to checkpatch.pl

This patch backports the current Linux kernel's SPDX-License-Identifier
check routines from the checkpatch.pl script to OpenWrt's current
checkpatch.pl.

Signed-off-by: Christian Lamparter <[email protected]>
scripts/checkpatch.pl
scripts/spdxcheck.py [new file with mode: 0755]