diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 3 |
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 | |||
32 | import bb.msg | 32 | import bb.msg |
33 | import bb.process | 33 | import bb.process |
34 | from contextlib import nested | 34 | from contextlib import nested |
35 | from bb import data, event, mkdirhier, utils | 35 | from bb import data, event, utils |
36 | 36 | ||
37 | bblogger = logging.getLogger('BitBake') | 37 | bblogger = logging.getLogger('BitBake') |
38 | logger = logging.getLogger('BitBake.Build') | 38 | logger = 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): |