diff options
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index a2c1b4020..1ed3fd4ce 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1255,10 +1255,6 @@ class BBCooker: # specify a target to be built, so show a warning bb.warn("Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.") - # Parse the configuration here. We need to do it explicitly here since - # buildFile() doesn't use the cache - self.parseConfiguration() - self.buildFileInternal(buildfile, task) def buildFileInternal(self, buildfile, task, fireevents=True, quietlog=False): @@ -1266,6 +1262,10 @@ class BBCooker: Build the file matching regexp buildfile """ + # Parse the configuration here. We need to do it explicitly here since + # buildFile() doesn't use the cache + self.parseConfiguration() + # If we are told to do the None task then query the default task if (task == None): task = self.configuration.cmd |