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