1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

bitbake parse/__init_.py: Add missing update_mtime function fixing bitbake shell reparse failures

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5196 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-09-16 19:14:49 +00:00
parent 10481859f4
commit 31511eb978
3 changed files with 8 additions and 3 deletions
+4 -2
View File
@@ -122,8 +122,10 @@ def handle(fn, d, include = 0):
abs_fn = fn
if ext != ".bbclass":
bbpath.insert(0, os.path.dirname(abs_fn))
data.setVar('BBPATH', ":".join(bbpath), d)
dname = os.path.dirname(abs_fn)
if bbpath[0] != dname:
bbpath.insert(0, dname)
data.setVar('BBPATH', ":".join(bbpath), d)
if include:
bb.parse.mark_dependency(d, abs_fn)
@@ -118,7 +118,6 @@ def handle(fn, data, include = 0):
init(data)
if include == 0:
bb.data.inheritFromOS(data)
oldfile = None
else:
oldfile = bb.data.getVar('FILE', data)