Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V3] sstate: Avoid indirect autoconf-archive-native dependencies
@ 2018-08-20  2:31 changqing.li
  2018-08-20 20:42 ` Peter Kjellerstedt
  0 siblings, 1 reply; 2+ messages in thread
From: changqing.li @ 2018-08-20  2:31 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-20 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20  2:31 [PATCH V3] sstate: Avoid indirect autoconf-archive-native dependencies changqing.li
2018-08-20 20:42 ` Peter Kjellerstedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox