diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-04-16 23:45:39 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-04-16 23:45:39 +0000 |
commit | 6d7bf8a684406b3b23be74a8b127cdb2b399aec5 (patch) | |
tree | 11565580acc094d0c7363e5b1c7d903fb7794265 | |
parent | 246f778013ced2807f9327697603ded29b7eefad (diff) | |
download | bitbake-6d7bf8a684406b3b23be74a8b127cdb2b399aec5.tar.gz |
bitbake/bin/bitbake:
* Fix a loadDataFull call the last changeset missed
* Only follow all dependencies when cmd == build
(fixes the recursive cleaning bug)
-rwxr-xr-x | bin/bitbake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/bitbake b/bin/bitbake index d643edaa0..24405d077 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -251,7 +251,8 @@ class BBCooker: the_data = self.bb_cache.loadDataFull(fn, self) - if not buildAllDeps: + # Only follow all (runtime) dependencies if doing a build + if not buildAllDeps and self.configuration.cmd is "build": buildAllDeps = self.status.build_all[fn] # Error on build time dependency loops @@ -430,9 +431,10 @@ class BBCooker: def showEnvironment( self ): """Show the outer or per-package environment""" if self.configuration.buildfile: + self.cb = None self.bb_cache = bb.cache.init(self) try: - self.configuration.data, fromCache = self.bb_cache.loadDataFull(self.configuration.buildfile, self) + self.configuration.data = self.bb_cache.loadDataFull(self.configuration.buildfile, self) except IOError, e: fatal("Unable to read %s: %s" % ( self.configuration.buildfile, e )) except Exception, e: |