[oe-commits] Ross Burton : sanity: display the parsed BBPATH when complaining about CWD elements

git at git.openembedded.org git at git.openembedded.org
Fri Jul 20 11:35:15 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 6f7be2498134402b5e0f766df5c57e1f496d0d06
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6f7be2498134402b5e0f766df5c57e1f496d0d06

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Jul 19 17:15:34 2012 +0100

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/sanity.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 6ef5450..575ce15 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





More information about the Openembedded-commits mailing list