summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 194a28b38c..bbf3ae1729 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -32,7 +32,7 @@ import bb
32import bb.msg 32import bb.msg
33import bb.process 33import bb.process
34from contextlib import nested 34from contextlib import nested
35from bb import data, event, mkdirhier, utils 35from bb import data, event, utils
36 36
37bblogger = logging.getLogger('BitBake') 37bblogger = logging.getLogger('BitBake')
38logger = logging.getLogger('BitBake.Build') 38logger = logging.getLogger('BitBake.Build')
@@ -162,6 +162,7 @@ def exec_func(func, d, dirs = None):
162 lockfiles = None 162 lockfiles = None
163 163
164 tempdir = data.getVar('T', d, 1) 164 tempdir = data.getVar('T', d, 1)
165 bb.utils.mkdirhier(tempdir)
165 runfile = os.path.join(tempdir, 'run.{0}.{1}'.format(func, os.getpid())) 166 runfile = os.path.join(tempdir, 'run.{0}.{1}'.format(func, os.getpid()))
166 167
167 with bb.utils.fileslocked(lockfiles): 168 with bb.utils.fileslocked(lockfiles):