diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e81d887268..5d3ac607f5 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -207,11 +207,13 @@ class BBCooker: | |||
207 | 207 | ||
208 | def enableDataTracking(self): | 208 | def enableDataTracking(self): |
209 | self.configuration.tracking = True | 209 | self.configuration.tracking = True |
210 | self.data.enableTracking() | 210 | if hasattr(self, "data"): |
211 | self.data.enableTracking() | ||
211 | 212 | ||
212 | def disableDataTracking(self): | 213 | def disableDataTracking(self): |
213 | self.configuration.tracking = False | 214 | self.configuration.tracking = False |
214 | self.data.disableTracking() | 215 | if hasattr(self, "data"): |
216 | self.data.disableTracking() | ||
215 | 217 | ||
216 | def modifyConfigurationVar(self, var, val, default_file, op): | 218 | def modifyConfigurationVar(self, var, val, default_file, op): |
217 | if op == "append": | 219 | if op == "append": |