diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/build.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 8937f083a1..575ef4aaf1 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'): |