[OE-core] [PATCH] sstate: Avoid indirect auto-archive-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)

Martin Jansa martin.jansa at gmail.com
Fri Aug 17 10:06:55 UTC 2018


Please update the summary and commit message "auto-" > "autoconf-"

On Fri, Aug 17, 2018 at 11:27 AM <changqing.li at windriver.com> wrote:

> From: Changqing Li <changqing.li at windriver.com>
>
> remove the indirect dependcy of auto-archive-native 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"
>  # We need to keep bitbake tools in PATH
>  PATH :=
> "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180817/c4b7a3d8/attachment-0002.html>


More information about the Openembedded-core mailing list