diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 17:55:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:30 +0100 |
commit | 74695278555a35e2145a65f2e372edb70b380c20 (patch) | |
tree | d8f9bae7d5b60eecafb44b81fb427d09044a0102 /scripts/runqemu | |
parent | 0441fe20e77907237a04e42a06991f3163daabb3 (diff) | |
download | poky-74695278555a35e2145a65f2e372edb70b380c20.tar.gz |
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 8 |
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 | ||
282 | setup_sysroot() { | 282 | setup_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]" | |||
380 | echo "FSTYPE: [$FSTYPE]" | 380 | echo "FSTYPE: [$FSTYPE]" |
381 | 381 | ||
382 | setup_sysroot | 382 | setup_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 |
386 | libgl='no' | 386 | libgl='no' |