From: Changqing Li Date: Tue, 21 Aug 2018 01:30:18 +0000 (+0800) Subject: sstate: Avoid indirect autoconf-archive-native dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7db9a28d2056a54157e77c412a91ad1cc96939c3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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. (From OE-Core rev: d23156460e2b8f6684bd3005d7fa09b2c73e522e) Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index cc77d078a80..2cbe952801f 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}"