diff options
author | Phil Blundell <philb@gnu.org> | 2005-01-23 18:42:20 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-01-23 18:42:20 +0000 |
commit | 621ea1dc73a57be57b2906cb6548cc7da1b2926a (patch) | |
tree | 1b5309d9fb2a76c4674d950a44a46753959f495e | |
parent | 004adaed2b87b215217df433f1b91cd392762049 (diff) | |
download | bitbake-621ea1dc73a57be57b2906cb6548cc7da1b2926a.tar.gz |
Evaluate dependencies in try_build(), even if stamp file is up to date for the current package.
-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 |