scripts: fix checkpatch.pl for changed license dir

As multiple LICENSES are shipped and no longer just LICENSE, modify the
OpenWrt tree detection in checkpatch.pl.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Paul Spooren 2020-09-22 09:08:58 -10:00 committed by maurerr
parent a5a32c0370
commit 59fa0f2509

View File

@ -1113,7 +1113,7 @@ sub top_of_openwrt_tree {
my ($root) = @_;
my @tree_check = (
"BSDmakefile", "Config.in", "LICENSE", "Makefile", "README.md",
"BSDmakefile", "Config.in", "LICENSES", "Makefile", "README.md",
"feeds.conf.default", "include", "package", "rules.mk",
"scripts", "target", "toolchain", "tools"
);