Skip to content
Commit 0ab58355 authored by Sourabh Banerjee's avatar Sourabh Banerjee Committed by Steve Sakoman
Browse files

layer.conf: fix sanity error for PATH variable in extensible SDK workflow



Sanity checker reports following error for the PATH variable,
when bitbake -e <recipe> command is run in an extensible SDK workspace.
   PATH contains '.', './' or '' (empty element), which will break the build

In case of extensible SDK, PATH variable is formed with two consecutive ':'
as bb.utils.which(d.getVar('PATH'),'bitbake') call returns an empty string.

This change adds ':' if BITBAKEPATH is a non empty string.

Signed-off-by: default avatarSourabh Banerjee <sbanerje@codeaurora.org>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05a87be5)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent abfcabb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment