summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index fab2f62a5f..aabc1b6e1d 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -149,8 +149,7 @@ def exec_func(func, d, dirs = None):
149 adir = dirs[-1] 149 adir = dirs[-1]
150 else: 150 else:
151 adir = data.getVar('B', d, 1) 151 adir = data.getVar('B', d, 1)
152 if not os.path.exists(adir): 152 bb.utils.mkdirhier(adir)
153 adir = None
154 153
155 ispython = flags.get('python') 154 ispython = flags.get('python')
156 if flags.get('fakeroot') and not flags.get('task'): 155 if flags.get('fakeroot') and not flags.get('task'):