diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 6824f8e512..d2d5da04cf 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -120,12 +120,12 @@ SCENEFUNCS += "base_scenefunction" | |||
120 | python base_scenefunction () { | 120 | python base_scenefunction () { |
121 | stamp = bb.data.getVar('STAMP', d, 1) + ".needclean" | 121 | stamp = bb.data.getVar('STAMP', d, 1) + ".needclean" |
122 | if os.path.exists(stamp): | 122 | if os.path.exists(stamp): |
123 | bb.build.exec_func("do_clean", d) | 123 | bb.build.exec_func("do_clean", d) |
124 | } | 124 | } |
125 | 125 | ||
126 | python base_do_setscene () { | 126 | python base_do_setscene () { |
127 | for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split(): | 127 | for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split(): |
128 | bb.build.exec_func(f, d) | 128 | bb.build.exec_func(f, d) |
129 | if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"): | 129 | if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"): |
130 | bb.build.make_stamp("do_setscene", d) | 130 | bb.build.make_stamp("do_setscene", d) |
131 | } | 131 | } |
@@ -299,8 +299,8 @@ python base_do_unpack() { | |||
299 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) | 299 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) |
300 | except bb.MalformedUrl, e: | 300 | except bb.MalformedUrl, e: |
301 | raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) | 301 | raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) |
302 | if local is None: | 302 | if local is None: |
303 | continue | 303 | continue |
304 | local = os.path.realpath(local) | 304 | local = os.path.realpath(local) |
305 | ret = oe_unpack_file(local, localdata, url) | 305 | ret = oe_unpack_file(local, localdata, url) |
306 | if not ret: | 306 | if not ret: |