summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 549dfd97a4..1d5a8cdf29 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -36,7 +36,10 @@ def find_patches(d,subdir):
36 if subdir == patchdir: 36 if subdir == patchdir:
37 patch_list.append(local) 37 patch_list.append(local)
38 else: 38 else:
39 patch_list.append(local) 39 # skip the patch if a patchdir was supplied, it won't be handled
40 # properly
41 if not patchdir:
42 patch_list.append(local)
40 43
41 return patch_list 44 return patch_list
42 45