]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Avoid indirect autoconf-archive-native dependencies
authorChangqing Li <changqing.li@windriver.com>
Tue, 21 Aug 2018 01:30:18 +0000 (09:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Aug 2018 13:49:34 +0000 (14:49 +0100)
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>
meta/conf/layer.conf

index cc77d078a8042e79e6b1b815ef0b93be1bcd5a7f..2cbe952801f0e9c8f53e00036affa0f5b3d681c5 100644 (file)
@@ -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}"