diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 52b81be7b6..0f99342a0f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -349,6 +349,10 @@ class BBCooker: if CookerFeatures.BASEDATASTORE_TRACKING in self.featureset: self.disableDataTracking() + self.data.renameVar("__depends", "__base_depends") + self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher) + + def enableDataTracking(self): self.configuration.tracking = True if hasattr(self, "data"): @@ -1464,9 +1468,6 @@ class BBCooker: self.collection = CookerCollectFiles(self.recipecache.bbfile_config_priorities) (filelist, masked) = self.collection.collect_bbfiles(self.data, self.expanded_data) - self.data.renameVar("__depends", "__base_depends") - self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher) - self.parser = CookerParser(self, filelist, masked) self.parsecache_valid = True |