summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index a3c35091b4..e843946e32 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -281,7 +281,7 @@ setup_tmpdir() {
281 exit 1; } 281 exit 1; }
282 282
283 # We have bitbake in PATH, get OE_TMPDIR from bitbake 283 # We have bitbake in PATH, get OE_TMPDIR from bitbake
284 OE_TMPDIR=`bitbake -e | grep ^TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2` 284 OE_TMPDIR=`MACHINE=$MACHINE bitbake -e | grep ^TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2`
285 if [ -z "$OE_TMPDIR" ]; then 285 if [ -z "$OE_TMPDIR" ]; then
286 echo "Error: this script needs to be run from your build directory," 286 echo "Error: this script needs to be run from your build directory,"
287 echo "or you need to explicitly set OE_TMPDIR in your environment" 287 echo "or you need to explicitly set OE_TMPDIR in your environment"