summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c28980e616..1e8406e119 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1745,11 +1745,7 @@ to your build configuration.
1745 cmd = 'MACHINE=%s bitbake -e %s %s' % (mach, multiconfig, target) 1745 cmd = 'MACHINE=%s bitbake -e %s %s' % (mach, multiconfig, target)
1746 else: 1746 else:
1747 cmd = 'bitbake -e %s %s' % (multiconfig, target) 1747 cmd = 'bitbake -e %s %s' % (multiconfig, target)
1748 try: 1748 return subprocess.check_output(cmd, shell=True).decode('utf-8')
1749 return subprocess.check_output(cmd, shell=True).decode('utf-8')
1750 except subprocess.CalledProcessError as err:
1751 logger.warning("Couldn't run '%s' to gather environment information, giving up with 'bitbake -e':\n%s" % (cmd, err.output.decode('utf-8')))
1752 return ''
1753 1749
1754 1750
1755 def load_bitbake_env(self, mach=None, target=None): 1751 def load_bitbake_env(self, mach=None, target=None):