diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-10-05 20:12:46 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-07 15:06:34 +0100 |
| commit | 7cc512559b8294508a89292fbd95a2522d81c324 (patch) | |
| tree | 37d7601c352527c93164006ddc9d6714b13310b7 /meta/classes | |
| parent | b30b97b5715d11d0c1085925d1ae2d24d0a20e29 (diff) | |
| download | poky-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>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/kernel-yocto.bbclass | 5 |
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 | ||
