summaryrefslogtreecommitdiffstats
path: root/meta
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:32:53 +0100
commitd85216e1566a155f623db7169d71052c8046f4c4 (patch)
treec24cc97cadb2c79cd722d5baf0fef04f03f272b6 /meta
parent35a0c103c195393613913a42678a869c8198738d (diff)
downloadpoky-d85216e1566a155f623db7169d71052c8046f4c4.tar.gz
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. (From OE-Core rev: 6f7be2498134402b5e0f766df5c57e1f496d0d06) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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):
400 "Please check your layer.conf files and other BBPATH " \ 400 "Please check your layer.conf files and other BBPATH " \
401 "settings to remove the current working directory " \ 401 "settings to remove the current working directory " \
402 "references."); 402 "references.");
403 bb.warn("Parsed BBPATH is" + str(bbpaths));
403 404
404 if sanity_data.getVar('TARGET_ARCH', True) == "arm": 405 if sanity_data.getVar('TARGET_ARCH', True) == "arm":
405 # This path is no longer user-readable in modern (very recent) Linux 406 # This path is no longer user-readable in modern (very recent) Linux