summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 17:55:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 00:29:30 +0100
commit74695278555a35e2145a65f2e372edb70b380c20 (patch)
treed8f9bae7d5b60eecafb44b81fb427d09044a0102
parent0441fe20e77907237a04e42a06991f3163daabb3 (diff)
downloadpoky-74695278555a35e2145a65f2e372edb70b380c20.tar.gz
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/toolchain-scripts.bbclass6
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal10
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs2
-rwxr-xr-xscripts/poky-export-rootfs14
-rwxr-xr-xscripts/poky-extract-sdk2
-rwxr-xr-xscripts/poky-find-native-sysroot14
-rwxr-xr-xscripts/poky-setup-rpmrepo8
-rwxr-xr-xscripts/runqemu8
-rwxr-xr-xscripts/runqemu-internal8
9 files changed, 36 insertions, 36 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index ef21784b98..aa34b98b51 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -26,7 +26,7 @@ toolchain_create_sdk_env_script () {
26 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script 26 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script
27 echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script 27 echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script
28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script 28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script
29 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
30 echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script 30 echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script
31 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 31 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
32} 32}
@@ -57,7 +57,7 @@ toolchain_create_tree_env_script () {
57 fi 57 fi
58 echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script 58 echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script
59 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script 59 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script
60 echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script 60 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script 61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
62} 62}
63 63
@@ -87,7 +87,7 @@ toolchain_create_sdk_env_script_for_installer () {
87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script 87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
88 echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script 88 echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script
89 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script 89 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script
90 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 90 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
91 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script 91 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
92 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 92 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
93 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 93 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index 0fd9e47e98..7e76cc0744 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -29,11 +29,11 @@ parse_config()
29 case $INST_ARCH in 29 case $INST_ARCH in
30 i[3-6]86) 30 i[3-6]86)
31 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 31 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32
32 POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-pokysdk-linux/" 32 OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-pokysdk-linux/"
33 ;; 33 ;;
34 x86_64) 34 x86_64)
35 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 35 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64
36 POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-pokysdk-linux/" 36 OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-pokysdk-linux/"
37 ;; 37 ;;
38 *) 38 *)
39 echo_info "[ADT_INST] Error: Installation Machine is not supported!" 39 echo_info "[ADT_INST] Error: Installation Machine is not supported!"
@@ -124,9 +124,9 @@ for native_target_type in $YOCTOADT_TARGETS; do
124done 124done
125 125
126# Link the ld.so.cache file into the hosts filesystem 126# Link the ld.so.cache file into the hosts filesystem
127if [ ! -f "$POKY_NATIVE_SYSROOT/etc/ld.so.cache" ]; then 127if [ ! -f "$OECORE_NATIVE_SYSROOT/etc/ld.so.cache" ]; then
128echo_info "Link the ld.so.cache file into the host filesystem" 128echo_info "Link the ld.so.cache file into the host filesystem"
129sudo ln -s /etc/ld.so.cache $POKY_NATIVE_SYSROOT/etc/ld.so.cache 129sudo ln -s /etc/ld.so.cache $OECORE_NATIVE_SYSROOT/etc/ld.so.cache
130check_result 130check_result
131fi 131fi
132 132
@@ -175,7 +175,7 @@ qemu_type=`echo "$1" | sed -e 's/x86_64/x86-64/'`
175sysroot_image_name="core-image-$target_sysroot_image-qemu$qemu_type.tar.bz2" 175sysroot_image_name="core-image-$target_sysroot_image-qemu$qemu_type.tar.bz2"
176 #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..." 176 #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..."
177 177
178scripts/extract_rootfs $sysroot_image_name $target_sysroot $POKY_NATIVE_SYSROOT $user_inst_type 178scripts/extract_rootfs $sysroot_image_name $target_sysroot $OECORE_NATIVE_SYSROOT $user_inst_type
179check_result 179check_result
180 180
181echo_info "Updating environment script with target sysroot location." 181echo_info "Updating environment script with target sysroot location."
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs
index 3dd47f0f75..62dc170c8a 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs
@@ -61,7 +61,7 @@ extract_rootfs()
61 61
62#Parameter detail is listed below: 62#Parameter detail is listed below:
63#Param 4: Silent install or customize install 63#Param 4: Silent install or customize install
64#Param 3: POKY_NATIVE_SYSROOT 64#Param 3: OECORE_NATIVE_SYSROOT
65#Param 2: user defined rootfs extraction directory 65#Param 2: user defined rootfs extraction directory
66#param 1: sysroot image name 66#param 1: sysroot image name
67extract_rootfs $1 $2 $3 $4 67extract_rootfs $1 $2 $3 $4
diff --git a/scripts/poky-export-rootfs b/scripts/poky-export-rootfs
index 3ab0597c9a..764d19a823 100755
--- a/scripts/poky-export-rootfs
+++ b/scripts/poky-export-rootfs
@@ -46,8 +46,8 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
46fi 46fi
47. $SYSROOT_SETUP_SCRIPT 47. $SYSROOT_SETUP_SCRIPT
48 48
49if [ ! -e "$POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then 49if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then
50 echo "Error: Unable to find rpc.mountd binary in $POKY_NATIVE_SYSROOT/usr/sbin/" 50 echo "Error: Unable to find rpc.mountd binary in $OECORE_NATIVE_SYSROOT/usr/sbin/"
51 51
52 if [ "x$POKY_DISTRO_VERSION" = "x" ]; then 52 if [ "x$POKY_DISTRO_VERSION" = "x" ]; then
53 echo "Have you run 'bitbake meta-ide-support'?" 53 echo "Have you run 'bitbake meta-ide-support'?"
@@ -67,7 +67,7 @@ RMTAB=~/.poky-sdk/rmtab$NFS_INSTANCE
67NFSPID=~/.poky-sdk/nfs$NFS_INSTANCE.pid 67NFSPID=~/.poky-sdk/nfs$NFS_INSTANCE.pid
68MOUNTPID=~/.poky-sdk/mount$NFS_INSTANCE.pid 68MOUNTPID=~/.poky-sdk/mount$NFS_INSTANCE.pid
69 69
70PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" 70PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr"
71PSEUDO_LOCALSTATEDIR="$NFS_EXPORT_DIR/var/pseudo" 71PSEUDO_LOCALSTATEDIR="$NFS_EXPORT_DIR/var/pseudo"
72export PSEUDO_LOCALSTATEDIR 72export PSEUDO_LOCALSTATEDIR
73 73
@@ -99,8 +99,8 @@ fi
99case "$1" in 99case "$1" in
100 start) 100 start)
101 echo "Starting User Mode rpc.mountd" 101 echo "Starting User Mode rpc.mountd"
102 echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS" 102 echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS"
103 $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS 103 $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS
104 if [ ! $? = 0 ]; then 104 if [ ! $? = 0 ]; then
105 echo "=====================" 105 echo "====================="
106 echo "Error starting MOUNTD" 106 echo "Error starting MOUNTD"
@@ -122,8 +122,8 @@ case "$1" in
122 exit 1 122 exit 1
123 fi 123 fi
124 echo "Starting User Mode nfsd" 124 echo "Starting User Mode nfsd"
125 echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS" 125 echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS"
126 $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS 126 $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS
127 if [ ! $? = 0 ]; then 127 if [ ! $? = 0 ]; then
128 echo "Error starting nfsd" 128 echo "Error starting nfsd"
129 exit 1 129 exit 1
diff --git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk
index a36d79d31c..ee2682e74a 100755
--- a/scripts/poky-extract-sdk
+++ b/scripts/poky-extract-sdk
@@ -36,7 +36,7 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
36 exit 1 36 exit 1
37fi 37fi
38. $SYSROOT_SETUP_SCRIPT 38. $SYSROOT_SETUP_SCRIPT
39PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" 39PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr"
40 40
41ROOTFS_TARBALL=$1 41ROOTFS_TARBALL=$1
42SDK_ROOTFS_DIR=$2 42SDK_ROOTFS_DIR=$2
diff --git a/scripts/poky-find-native-sysroot b/scripts/poky-find-native-sysroot
index 226229421c..d44fd9536e 100755
--- a/scripts/poky-find-native-sysroot
+++ b/scripts/poky-find-native-sysroot
@@ -2,7 +2,7 @@
2# 2#
3# Find a native sysroot to use - either from an in-tree Poky build or 3# Find a native sysroot to use - either from an in-tree Poky build or
4# from a toolchain installation. It then ensures the variable 4# from a toolchain installation. It then ensures the variable
5# $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets 5# $OECORE_NATIVE_SYSROOT is set to the sysroot's base directory, and sets
6# $PSEUDO to the path of the pseudo binary. 6# $PSEUDO to the path of the pseudo binary.
7# 7#
8# This script is intended to be run within other scripts by source'ing 8# This script is intended to be run within other scripts by source'ing
@@ -30,7 +30,7 @@
30# with this program; if not, write to the Free Software Foundation, Inc., 30# with this program; if not, write to the Free Software Foundation, Inc.,
31# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 31# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
32 32
33if [ -z "$POKY_NATIVE_SYSROOT" ]; then 33if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
34 BITBAKE=`which bitbake` 34 BITBAKE=`which bitbake`
35 if [ "x$BITBAKE" != "x" ]; then 35 if [ "x$BITBAKE" != "x" ]; then
36 if [ "$UID" = "0" ]; then 36 if [ "$UID" = "0" ]; then
@@ -40,10 +40,10 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then
40 exit 1 40 exit 1
41 fi 41 fi
42 touch conf/sanity.conf 42 touch conf/sanity.conf
43 POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` 43 OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
44 rm -f conf/sanity.conf 44 rm -f conf/sanity.conf
45 else 45 else
46 POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` 46 OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
47 fi 47 fi
48 else 48 else
49 echo "Error: Unable to locate your native sysroot." 49 echo "Error: Unable to locate your native sysroot."
@@ -56,8 +56,8 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then
56fi 56fi
57 57
58# Set up pseudo command 58# Set up pseudo command
59if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then 59if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
60 echo "Error: Unable to find pseudo binary in $POKY_NATIVE_SYSROOT/usr/bin/" 60 echo "Error: Unable to find pseudo binary in $OECORE_NATIVE_SYSROOT/usr/bin/"
61 61
62 if [ "x$POKY_DISTRO_VERSION" = "x" ]; then 62 if [ "x$POKY_DISTRO_VERSION" = "x" ]; then
63 echo "Have you run 'bitbake meta-ide-support'?" 63 echo "Have you run 'bitbake meta-ide-support'?"
@@ -69,4 +69,4 @@ if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
69 exit 1 69 exit 1
70 fi 70 fi
71fi 71fi
72PSEUDO="$POKY_NATIVE_SYSROOT/usr/bin/pseudo" 72PSEUDO="$OECORE_NATIVE_SYSROOT/usr/bin/pseudo"
diff --git a/scripts/poky-setup-rpmrepo b/scripts/poky-setup-rpmrepo
index 0e84ca9ee5..03372b6199 100755
--- a/scripts/poky-setup-rpmrepo
+++ b/scripts/poky-setup-rpmrepo
@@ -47,17 +47,17 @@ setup_tmpdir() {
47} 47}
48 48
49setup_sysroot() { 49setup_sysroot() {
50 # Toolchain installs set up $POKY_NATIVE_SYSROOT in their 50 # Toolchain installs set up $OECORE_NATIVE_SYSROOT in their
51 # environment script. If that variable isn't set, we're 51 # environment script. If that variable isn't set, we're
52 # either in an in-tree poky scenario or the environment 52 # either in an in-tree poky scenario or the environment
53 # script wasn't source'd. 53 # script wasn't source'd.
54 if [ -z "$POKY_NATIVE_SYSROOT" ]; then 54 if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
55 setup_tmpdir 55 setup_tmpdir
56 BUILD_ARCH=`uname -m` 56 BUILD_ARCH=`uname -m`
57 BUILD_OS=`uname | tr '[A-Z]' '[a-z]'` 57 BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
58 BUILD_SYS="$BUILD_ARCH-$BUILD_OS" 58 BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
59 59
60 POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS 60 OECORE_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
61 fi 61 fi
62} 62}
63 63
@@ -76,7 +76,7 @@ if [ ! -d "$RPM_DIR" ]; then
76 exit 1 76 exit 1
77fi 77fi
78 78
79CREATEREPO=$POKY_NATIVE_SYSROOT/usr/bin/createrepo 79CREATEREPO=$OECORE_NATIVE_SYSROOT/usr/bin/createrepo
80if [ ! -e "$CREATEREPO" ]; then 80if [ ! -e "$CREATEREPO" ]; then
81 echo "Error: can't find createrepo binary" 81 echo "Error: can't find createrepo binary"
82 echo "please run bitbake createrepo-native first" 82 echo "please run bitbake createrepo-native first"
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'
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 206e1cfe8a..64374f2076 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -161,10 +161,10 @@ if [ "$TAP" = "" ]; then
161 161
162 GROUPID=`id -g` 162 GROUPID=`id -g`
163 echo "Setting up tap interface under sudo" 163 echo "Setting up tap interface under sudo"
164 tap=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT` 164 tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT`
165 if [ $? -ne 0 ]; then 165 if [ $? -ne 0 ]; then
166 # Re-run standalone to see verbose errors 166 # Re-run standalone to see verbose errors
167 sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT 167 sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT
168 return 168 return
169 fi 169 fi
170 LOCKFILE="$LOCKDIR/$tap" 170 LOCKFILE="$LOCKDIR/$tap"
@@ -179,7 +179,7 @@ fi
179 179
180cleanup() { 180cleanup() {
181 if [ ! -e "$NOSUDO_FLAG" ]; then 181 if [ ! -e "$NOSUDO_FLAG" ]; then
182 sudo $QEMUIFDOWN $TAP $POKY_NATIVE_SYSROOT 182 sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT
183 fi 183 fi
184 echo "Releasing lockfile of preconfigured tap device '$TAP'" 184 echo "Releasing lockfile of preconfigured tap device '$TAP'"
185 release_lock $LOCKFILE 185 release_lock $LOCKFILE
@@ -416,7 +416,7 @@ if [ "x$QEMUOPTIONS" = "x" ]; then
416 return 416 return
417fi 417fi
418 418
419PATH=$CROSSPATH:$POKY_NATIVE_SYSROOT/usr/bin:$PATH 419PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
420 420
421QEMUBIN=`which $QEMU` 421QEMUBIN=`which $QEMU`
422if [ ! -x "$QEMUBIN" ]; then 422if [ ! -x "$QEMUBIN" ]; then