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>
This commit is contained in:
Ross Burton
2012-07-19 17:15:34 +01:00
committed by Richard Purdie
parent 35a0c103c1
commit d85216e156

View File

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