[yocto] [PATCH] sanity.bbclass: Print BBPATH when warning of bad components
Gary Thomas
gary at mlbassoc.com
Thu Jun 21 09:54:13 PDT 2012
The new warning/check for illegal BBPATH components is extended
to actually print the list of elements. This will make it easier
for the user to identify where the error(s) come from.
Signed-off-by: Gary Thomas <gary at mlbassoc.com>
---
meta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 6ed1e6f..fe7ece7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -396,7 +396,7 @@ def check_sanity(sanity_data):
"layer configuration is adding empty elements to BBPATH.\n\t "\
"Please check your layer.conf files and other BBPATH " \
"settings to remove the current working directory " \
- "references.");
+ "references.\n\tBBPATH = ", str(bbpaths));
if sanity_data.getVar('TARGET_ARCH', True) == "arm":
# This path is no longer user-readable in modern (very recent) Linux
--
1.7.7.6
More information about the yocto
mailing list