summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 894a296e1c..11b8c6e45c 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -280,17 +280,17 @@ setup_tmpdir() {
280} 280}
281 281
282setup_sysroot() { 282setup_sysroot() {
283 # Toolchain installs set up $POKY_NATIVE_SYSROOT in their 283 # Toolchain installs set up $OECORE_NATIVE_SYSROOT in their
284 # environment script. If that variable isn't set, we're 284 # environment script. If that variable isn't set, we're
285 # either in an in-tree poky scenario or the environment 285 # either in an in-tree poky scenario or the environment
286 # script wasn't source'd. 286 # script wasn't source'd.
287 if [ -z "$POKY_NATIVE_SYSROOT" ]; then 287 if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
288 setup_tmpdir 288 setup_tmpdir
289 BUILD_ARCH=`uname -m` 289 BUILD_ARCH=`uname -m`
290 BUILD_OS=`uname | tr '[A-Z]' '[a-z]'` 290 BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
291 BUILD_SYS="$BUILD_ARCH-$BUILD_OS" 291 BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
292 292
293 POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS 293 OECORE_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
294 fi 294 fi
295} 295}
296 296
@@ -380,7 +380,7 @@ echo "ROOTFS: [$ROOTFS]"
380echo "FSTYPE: [$FSTYPE]" 380echo "FSTYPE: [$FSTYPE]"
381 381
382setup_sysroot 382setup_sysroot
383# POKY_NATIVE_SYSROOT is now set for all cases 383# OECORE_NATIVE_SYSROOT is now set for all cases
384 384
385# We can't run without a libGL.so 385# We can't run without a libGL.so
386libgl='no' 386libgl='no'