summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_kmod.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/create_kmod.py')
-rw-r--r--scripts/lib/recipetool/create_kmod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_kmod.py b/scripts/lib/recipetool/create_kmod.py
index 7cf188db21..4569b53c80 100644
--- a/scripts/lib/recipetool/create_kmod.py
+++ b/scripts/lib/recipetool/create_kmod.py
@@ -40,7 +40,7 @@ class KernelModuleRecipeHandler(RecipeHandler):
40 40
41 makefiles = [] 41 makefiles = []
42 42
43 files = RecipeHandler.checkfiles(srctree, ['*.c', '*.h'], recursive=True) 43 files = RecipeHandler.checkfiles(srctree, ['*.c', '*.h'], recursive=True, excludedirs=['contrib', 'test', 'examples'])
44 if files: 44 if files:
45 for cfile in files: 45 for cfile in files:
46 # Look in same dir or parent for Makefile 46 # Look in same dir or parent for Makefile