tcmode-external-sourcery: suppress stderr in exttc_run

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2012-07-13 10:16:19 -04:00
parent 435a17cb2b
commit a42c9f6135

View File

@@ -43,7 +43,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"
# files will be extracted into the OE sysroot
def exttc_run(d, cmd):
try:
return bb.process.run(cmd, shell=True, env={'PATH': d.getVar('PATH', True), 'LD_PRELOAD': ''})[0].rstrip()
return bb.process.run(cmd, shell=True, stderr=None, env={'PATH': d.getVar('PATH', True)})[0].rstrip()
except (OSError, bb.process.CmdError):
return ''