sanity.bbclass: Print BBPATH when warning of bad components
PATCH 1/1 sanity.bbclass: Print BBPATH when warning of bad components
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 <[email protected]>
--- meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
@@ -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
Signature · 1 line
1.7.7.6