[OE-core] [PATCH] core: recipes: fix some native tools dependencies

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 17 10:51:56 UTC 2020


On Fri, 2020-01-17 at 12:29 +0530, Sumit Garg wrote:
> Some native tools dependency issues were seen while building with
> external GCC tool-set rather than source GCC tool-set. While building
> with source tool-set these dependencies were implicitly met which is not
> the case with external tool-set. So explicitly state these native tools
> dependencies.
> 
> Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
> ---
>  meta/classes/autotools.bbclass                     | 2 +-
>  meta/recipes-extended/man-db/man-db_2.9.0.bb       | 2 +-
>  meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
> index 3d22ad0..4c71be2 100644
> --- a/meta/classes/autotools.bbclass
> +++ b/meta/classes/autotools.bbclass
> @@ -10,7 +10,7 @@ def autotools_dep_prepend(d):
>      deps += 'autoconf-native automake-native '
>  
>      if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"):
> -        deps += 'libtool-native '
> +        deps += 'libtool-native xz-native '
>          if not bb.data.inherits_class('native', d) \
>                          and not bb.data.inherits_class('nativesdk', d) \
>                          and not bb.data.inherits_class('cross', d) \

Where does autotools depend on xz? I don't really understand that
dependency. What kind of failures was this causing?

Cheers,

Richard



More information about the Openembedded-core mailing list