]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity: display the parsed BBPATH when complaining about CWD elements
authorRoss Burton <ross.burton@intel.com>
Thu, 19 Jul 2012 16:15:34 +0000 (17:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jul 2012 11:31:00 +0000 (12:31 +0100)
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>
meta/classes/sanity.bbclass

index 6ef5450ef8dd220d9adf457df112ed4518956c60..575ce1569fe10b1ffd523d964c4f5ee4f6657c52 100644 (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