[OE-core] [PATCH] sanity: display the parsed BBPATH when complaining about CWD elements

Saul Wold sgw at linux.intel.com
Sat Jul 21 00:24:27 UTC 2012


On 07/19/2012 09:15 AM, Ross Burton wrote:
> 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>
> ---
>   meta/classes/sanity.bbclass |    1 +
>   1 file changed, 1 insertion(+)
>
> 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
>

Merged into OE-Core

Thanks
	Sau!




More information about the Openembedded-core mailing list