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: | |||
| 349 | if CookerFeatures.BASEDATASTORE_TRACKING in self.featureset: | 349 | if CookerFeatures.BASEDATASTORE_TRACKING in self.featureset: |
| 350 | self.disableDataTracking() | 350 | self.disableDataTracking() |
| 351 | 351 | ||
| 352 | self.data.renameVar("__depends", "__base_depends") | ||
| 353 | self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher) | ||
| 354 | |||
| 355 | |||
| 352 | def enableDataTracking(self): | 356 | def enableDataTracking(self): |
| 353 | self.configuration.tracking = True | 357 | self.configuration.tracking = True |
| 354 | if hasattr(self, "data"): | 358 | if hasattr(self, "data"): |
| @@ -1464,9 +1468,6 @@ class BBCooker: | |||
| 1464 | self.collection = CookerCollectFiles(self.recipecache.bbfile_config_priorities) | 1468 | self.collection = CookerCollectFiles(self.recipecache.bbfile_config_priorities) |
| 1465 | (filelist, masked) = self.collection.collect_bbfiles(self.data, self.expanded_data) | 1469 | (filelist, masked) = self.collection.collect_bbfiles(self.data, self.expanded_data) |
| 1466 | 1470 | ||
| 1467 | self.data.renameVar("__depends", "__base_depends") | ||
| 1468 | self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher) | ||
| 1469 | |||
| 1470 | self.parser = CookerParser(self, filelist, masked) | 1471 | self.parser = CookerParser(self, filelist, masked) |
| 1471 | self.parsecache_valid = True | 1472 | self.parsecache_valid = True |
| 1472 | 1473 | ||
