diff options
-rwxr-xr-x | bin/bitbake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/bitbake b/bin/bitbake index 7a7288887..77e626589 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -97,15 +97,11 @@ def try_build(fn, virtual): the_data = make.pkgdata[fn] item = bb.data.getVar('PN', the_data, 1) - if bb.build.stamp_is_current('do_%s' % make.options.cmd, the_data): - return True - __building_list.append(fn) pathstr = "%s (%s)" % (item, virtual) __build_path.append(pathstr) - depends_list = (bb.data.getVar('DEPENDS', the_data, 1) or "").split() if make.options.verbose: bb.note("current path: %s" % (" -> ".join(__build_path))) @@ -144,6 +140,10 @@ def try_build(fn, virtual): __stats["deps"] += 1 return False + if bb.build.stamp_is_current('do_%s' % make.options.cmd, the_data): + __build_cache.append(fn) + return True + bb.event.fire(bb.event.PkgStarted(item, make.pkgdata[fn])) try: __stats["attempt"] += 1 |