From: Ross Burton Date: Thu, 19 Jul 2012 16:15:34 +0000 (+0100) Subject: sanity: display the parsed BBPATH when complaining about CWD elements X-Git-Tag: 2015-4~9882 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6f7be2498134402b5e0f766df5c57e1f496d0d06;p=openembedded-core.git sanity: display the parsed BBPATH when complaining about CWD elements Many people don't understand the nuances of PATH/BBPATH, so help them by clarifying the warning and displaying the parsed list element-by-element. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 6ef5450ef8..575ce1569f 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -400,6 +400,7 @@ def check_sanity(sanity_data): "Please check your layer.conf files and other BBPATH " \ "settings to remove the current working directory " \ "references."); + bb.warn("Parsed BBPATH is" + str(bbpaths)); if sanity_data.getVar('TARGET_ARCH', True) == "arm": # This path is no longer user-readable in modern (very recent) Linux