From 681262d1d999a4ef66698e531b47ab91e061f6ed Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 17 Mar 2021 16:55:50 +0100 Subject: [PATCH] scripts: checkpatch: do not require top-level Makefile checkpatch requires a Makefile to be present at the top-level directory. Remove this requirement. Signed-off-by: Gerard Marull-Paretas --- scripts/checkpatch.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index af39d69b663..7c6b18af2e8 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1118,9 +1118,9 @@ sub top_of_kernel_tree { my ($root) = @_; my @tree_check = ( - "LICENSE", "CODEOWNERS", "Kconfig", "Makefile", - "README.rst", "doc", "arch", "include", "drivers", - "boards", "kernel", "lib", "scripts", + "LICENSE", "CODEOWNERS", "Kconfig", "README.rst", + "doc", "arch", "include", "drivers", "boards", + "kernel", "lib", "scripts", ); foreach my $check (@tree_check) {