diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index fb38289397..a2b0bb5d7d 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -527,9 +527,11 @@ class BBCooker: | |||
527 | self.handleCollections( self.data.getVar("BBFILE_COLLECTIONS", True) ) | 527 | self.handleCollections( self.data.getVar("BBFILE_COLLECTIONS", True) ) |
528 | 528 | ||
529 | def updateConfigOpts(self, options, environment): | 529 | def updateConfigOpts(self, options, environment): |
530 | clean = True | ||
530 | for o in options: | 531 | for o in options: |
532 | if o in ['prefile', 'postfile']: | ||
533 | clean = False | ||
531 | setattr(self.configuration, o, options[o]) | 534 | setattr(self.configuration, o, options[o]) |
532 | clean = True | ||
533 | for k in bb.utils.approved_variables(): | 535 | for k in bb.utils.approved_variables(): |
534 | if k in environment and k not in self.configuration.env: | 536 | if k in environment and k not in self.configuration.env: |
535 | logger.debug(1, "Updating environment variable %s to %s" % (k, environment[k])) | 537 | logger.debug(1, "Updating environment variable %s to %s" % (k, environment[k])) |