summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-25 07:55:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-06 15:42:54 +0100
commit8b938dc82cf196090c631eef63bf14d32eef9852 (patch)
tree36f8b32b7a8fce5389299e47838467154864290f /bitbake
parent88dbb0523cfdc46c8f7e4484ce57c3f46fd475a1 (diff)
downloadast2050-yocto-poky-8b938dc82cf196090c631eef63bf14d32eef9852.zip
ast2050-yocto-poky-8b938dc82cf196090c631eef63bf14d32eef9852.tar.gz
build: in exec_func, mkdirhier ${T}
This should fix the -c clean traceback people are seeing. (Bitbake rev: 416d24912fcef1d82ce2c02855accd86a29e76b2) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 194a28b..bbf3ae1 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -32,7 +32,7 @@ import bb
import bb.msg
import bb.process
from contextlib import nested
-from bb import data, event, mkdirhier, utils
+from bb import data, event, utils
bblogger = logging.getLogger('BitBake')
logger = logging.getLogger('BitBake.Build')
@@ -162,6 +162,7 @@ def exec_func(func, d, dirs = None):
lockfiles = None
tempdir = data.getVar('T', d, 1)
+ bb.utils.mkdirhier(tempdir)
runfile = os.path.join(tempdir, 'run.{0}.{1}'.format(func, os.getpid()))
with bb.utils.fileslocked(lockfiles):
OpenPOWER on IntegriCloud