diff options
Diffstat (limited to 'meta/classes/utility-tasks.bbclass')
-rw-r--r-- | meta/classes/utility-tasks.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index 64bd84a5d3..009ef1fd04 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass | |||
@@ -6,7 +6,7 @@ python do_listtasks() { | |||
6 | #bb.data.emit_env(sys.__stdout__, d) | 6 | #bb.data.emit_env(sys.__stdout__, d) |
7 | # emit the metadata which isnt valid shell | 7 | # emit the metadata which isnt valid shell |
8 | for e in d.keys(): | 8 | for e in d.keys(): |
9 | if bb.data.getVarFlag(e, 'task', d): | 9 | if d.getVarFlag(e, 'task'): |
10 | bb.plain("%s" % e) | 10 | bb.plain("%s" % e) |
11 | } | 11 | } |
12 | 12 | ||
@@ -20,18 +20,18 @@ python do_clean() { | |||
20 | bb.note("Removing " + dir) | 20 | bb.note("Removing " + dir) |
21 | oe.path.remove(dir) | 21 | oe.path.remove(dir) |
22 | 22 | ||
23 | dir = "%s.*" % bb.data.expand(bb.data.getVar('STAMP', d), d) | 23 | dir = "%s.*" % bb.data.expand(d.getVar('STAMP'), d) |
24 | bb.note("Removing " + dir) | 24 | bb.note("Removing " + dir) |
25 | oe.path.remove(dir) | 25 | oe.path.remove(dir) |
26 | 26 | ||
27 | for f in (bb.data.getVar('CLEANFUNCS', d, 1) or '').split(): | 27 | for f in (d.getVar('CLEANFUNCS', 1) or '').split(): |
28 | bb.build.exec_func(f, d) | 28 | bb.build.exec_func(f, d) |
29 | } | 29 | } |
30 | 30 | ||
31 | addtask checkuri | 31 | addtask checkuri |
32 | do_checkuri[nostamp] = "1" | 32 | do_checkuri[nostamp] = "1" |
33 | python do_checkuri() { | 33 | python do_checkuri() { |
34 | src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split() | 34 | src_uri = (d.getVar('SRC_URI', True) or "").split() |
35 | if len(src_uri) == 0: | 35 | if len(src_uri) == 0: |
36 | return | 36 | return |
37 | 37 | ||