scripts: add SPDX-License-Identifier check to checkpatch.pl
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 30 Mar 2019 10:05:30 +0000 (11:05 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 11 Aug 2020 17:10:14 +0000 (19:10 +0200)
commit71deb1b3aef45d77f5d8da9b365f1fec41296c01
tree3d39fc42eeab7cd520e9e1dbe40b67123f7ad45e
parent69735d9dc14cde28e0ea2618b4056abcc82284de
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 <chunkeey@gmail.com>
scripts/checkpatch.pl
scripts/spdxcheck.py [new file with mode: 0755]