summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-10-05 20:12:46 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-07 15:06:34 +0100
commit7cc512559b8294508a89292fbd95a2522d81c324 (patch)
tree37d7601c352527c93164006ddc9d6714b13310b7
parentb30b97b5715d11d0c1085925d1ae2d24d0a20e29 (diff)
downloadpoky-7cc512559b8294508a89292fbd95a2522d81c324.tar.gz
kernel-yocto: don't apply config metadata patches twice
(From OE-Core rev: 0b88ed0af350c609ce8075e7d89ca7db91486858) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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