summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 7ca1ffdd94..e299059401 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -239,8 +239,10 @@ class BBCooker:
239 self.commandlineAction['msg'] = "No target should be used with the --environment and --buildfile options." 239 self.commandlineAction['msg'] = "No target should be used with the --environment and --buildfile options."
240 elif len(self.configuration.pkgs_to_build) > 0: 240 elif len(self.configuration.pkgs_to_build) > 0:
241 self.commandlineAction['action'] = ["showEnvironmentTarget", self.configuration.pkgs_to_build] 241 self.commandlineAction['action'] = ["showEnvironmentTarget", self.configuration.pkgs_to_build]
242 self.configuration.data.setVar("BB_CONSOLELOG", None)
242 else: 243 else:
243 self.commandlineAction['action'] = ["showEnvironment", self.configuration.buildfile] 244 self.commandlineAction['action'] = ["showEnvironment", self.configuration.buildfile]
245 self.configuration.data.setVar("BB_CONSOLELOG", None)
244 elif self.configuration.buildfile is not None: 246 elif self.configuration.buildfile is not None:
245 self.commandlineAction['action'] = ["buildFile", self.configuration.buildfile, self.configuration.cmd] 247 self.commandlineAction['action'] = ["buildFile", self.configuration.buildfile, self.configuration.cmd]
246 elif self.configuration.revisions_changed: 248 elif self.configuration.revisions_changed: