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 <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-03-17 16:55:50 +01:00 committed by Anas Nashif
parent c3d3b3dbc8
commit 681262d1d9
1 changed files with 3 additions and 3 deletions

View File

@ -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) {