summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-19 17:15:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-20 12:31:00 +0100
commit6f7be2498134402b5e0f766df5c57e1f496d0d06 (patch)
tree851d562bdb101461f3d00b3d0e7bdc5a2eb29d20 /meta/classes/sanity.bbclass
parent294b34416921ed6ff5dd800656b44552561beb09 (diff)
downloadopenembedded-core-6f7be2498134402b5e0f766df5c57e1f496d0d06.tar.gz
openembedded-core-6f7be2498134402b5e0f766df5c57e1f496d0d06.tar.bz2
openembedded-core-6f7be2498134402b5e0f766df5c57e1f496d0d06.zip
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 <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass1
1 files changed, 1 insertions, 0 deletions
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