From: Changqing Li Date: Tue, 21 Aug 2018 01:30:18 +0000 (+0800) Subject: sstate: Avoid indirect autoconf-archive-native dependencies X-Git-Tag: uninative-2.3~602 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d23156460e2b8f6684bd3005d7fa09b2c73e522e;p=openembedded-core.git sstate: Avoid indirect autoconf-archive-native dependencies 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 Signed-off-by: Richard Purdie --- diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index cc77d078a8..2cbe952801 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf @@ -90,6 +90,9 @@ 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}"