Hi Bruce,

Bruce Ashfield <bruce.ashfi...@gmail.com> escreveu no dia quarta, 6/10/2021
à(s) 01:12:

> From: Bruce Ashfield <bruce.ashfi...@gmail.com>
>
> Signed-off-by: Bruce Ashfield <bruce.ashfi...@gmail.com>
> ---
>  meta/classes/kernel-yocto.bbclass | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> 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):
>              if subdir == patchdir:
>                  patch_list.append(local)
>          else:
> -            patch_list.append(local)
> +            # skip the patch if a patchdir was supplied, it won't be
> handled
> +            # properly
> +            if not patchdir:
> +                patch_list.append(local)
>

I think that will be useful to have a warning there when the patchdir was
supplied

Jose


>      return patch_list
>
> --
> 2.19.1
>
>
> 
>
>

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156676): 
https://lists.openembedded.org/g/openembedded-core/message/156676
Mute This Topic: https://lists.openembedded.org/mt/86108495/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to