[OE-core] [PATCH V3] sstate: Avoid indirect autoconf-archive-native dependencies

Peter Kjellerstedt peter.kjellerstedt at axis.com
Mon Aug 20 20:42:44 UTC 2018


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> core-bounces at lists.openembedded.org> On Behalf Of
> changqing.li at windriver.com
> Sent: den 20 augusti 2018 04:31
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH V3] sstate: Avoid indirect autoconf-archive-
> native dependencies
> 
> From: Changqing Li <changqing.li at windriver.com>
> 
> remove the indirect dependcy of autoconf-archive-native via
> SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed
> into sysroot, which may cause compile problem.
> 
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
>  meta/conf/layer.conf | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
> index cc77d07..63346ae 100644
> --- a/meta/conf/layer.conf
> +++ b/meta/conf/layer.conf
> @@ -90,6 +90,8 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
>      .*->.*-initial.* \
>      .*(base-passwd|shadow-sysroot)->.* \
>  "
> -
> +# Avoid adding autoconf-archive-native to sysroot without a specific
> +# dependency in the recipe.
> +SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"

Please re-add the empty line here.

>  # We need to keep bitbake tools in PATH
>  PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"
> --
> 2.7.4

//Peter




More information about the Openembedded-core mailing list