sstate: Silence warnings when switching machines

Submitted by Richard Purdie on April 10, 2014, 12:49 p.m. | Patch ID: 70443


Message ID 1397134195.24597.256.camel@ted
State New
Headers show

Commit Message

Richard Purdie April 10, 2014, 12:49 p.m.
We recently added multiple provider warnings. These could get issued 
from -cross recipes due to the way these currently overlap in the 
native sysroot. Filter out these warnings for now, until such times
as we improve the cross recipes so they don't have an overlapping 

Signed-off-by: Richard Purdie <>

Patch hide | download patch | download mbox

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 297e29f..5f560e5 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -25,6 +25,7 @@  SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/"
 # Also need to make cross recipes append to ${PN} and install once for any given PACAGE_ARCH so
 # can avoid multiple installs (e.g. routerstationpro+qemumips both using mips32)
+SSTATE_DUPWHITELIST += "${STAGING_DIR_NATIVE}/sysroot-providers/virtual_${MULTIMACH_TARGET_SYS}- ${STAGING_DIR_NATIVE}/sysroot-providers/binutils-cross ${STAGING_DIR_NATIVE}/sysroot-providers/gcc-cross"
 # Avoid docbook/sgml catalog warnings for now