summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-01-06 04:52:35 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-07 13:13:56 +0000
commit0636797d75874ce4577f29011d69c56a4c6b9e89 (patch)
tree948ede33087eef5730932e5141f3a52bb91e104f /lib
parent146318729dbeeee4136bcb4832e6f8f69f9a2489 (diff)
downloadbitbake-contrib-0636797d75874ce4577f29011d69c56a4c6b9e89.tar.gz
bitbake/lib/bb/build.py: fix the task flags cleandirs
The user manual said: 'cleandirs' - directories which should created before the task runs but should be empty But it only removes the dir, doesn't create it [YOCTO #5703] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py
index 1524da004..3aa63758c 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -154,6 +154,7 @@ def exec_func(func, d, dirs = None):
if cleandirs:
for cdir in d.expand(cleandirs).split():
bb.utils.remove(cdir, True)
+ bb.utils.mkdirhier(cdir)
if dirs is None:
dirs = flags.get('dirs')
tion> OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/buildproject.py
blob: 01a803ab61331b8d5be5e881541592b1c6aa6509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61