external-run.inc: run in TMPDIR, not TOPDIR

TMPDIR is already in the BB_HASHBASE_WHITELIST, whereas TOPDIR is not.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
Christopher Larson
2015-03-31 11:48:44 -07:00
parent 90ce28ae6c
commit 4a2f9d3bb1

View File

@@ -1,7 +1,7 @@
def external_run(d, cmd, *args):
import subprocess
topdir = d.getVar('TOPDIR', True)
topdir = d.getVar('TMPDIR', True)
toolchain_path = d.getVar('EXTERNAL_TOOLCHAIN', True)
if toolchain_path:
target_prefix = d.getVar('EXTERNAL_TARGET_SYS', True) + '-'