summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-08-21 09:30:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-21 14:49:34 +0100
commitd23156460e2b8f6684bd3005d7fa09b2c73e522e (patch)
tree26689a1cf10e0b3743a7c8951fddea67e244efb0
parentc226820183f44a2830b5172cac5888b17872c5c8 (diff)
downloadopenembedded-core-contrib-d23156460e2b8f6684bd3005d7fa09b2c73e522e.tar.gz
openembedded-core-contrib-d23156460e2b8f6684bd3005d7fa09b2c73e522e.tar.bz2
openembedded-core-contrib-d23156460e2b8f6684bd3005d7fa09b2c73e522e.zip
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 <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
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}"