bitbake: toaster: set default pokydirname if no external layers
If no external layers are defined, pokydirname is not set. Rectify this by taking the 'be.sourcedir' as the pokydirname. [YOCTO #12015] (Bitbake rev: 4bcf15abbd6c399b7094762394393d41e0f347e7) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9566ec3c3a
commit
8ef614ee77
|
@ -200,6 +200,10 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||||
|
|
||||||
logger.debug("localhostbecontroller: current layer list %s " % pformat(layerlist))
|
logger.debug("localhostbecontroller: current layer list %s " % pformat(layerlist))
|
||||||
|
|
||||||
|
if self.pokydirname is None and os.path.exists(os.path.join(self.be.sourcedir, "oe-init-build-env")):
|
||||||
|
logger.debug("localhostbecontroller: selected poky dir name %s" % self.be.sourcedir)
|
||||||
|
self.pokydirname = self.be.sourcedir
|
||||||
|
|
||||||
# 5. create custom layer and add custom recipes to it
|
# 5. create custom layer and add custom recipes to it
|
||||||
for target in targets:
|
for target in targets:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue