From: Paul Spooren Date: Tue, 22 Sep 2020 19:08:58 +0000 (-1000) Subject: scripts: fix checkpatch.pl for changed license dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d5425976f562000ea319180e6c329886bba2c1f;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8ffc093548..81b1ffcb56 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -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" );