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-20 18:47:31 +0100 |
commit | c056aeaa13549b404088e3d465f3b03443e5ab88 (patch) | |
tree | 6893bfe7bce94706e67e3c40a6ef0695d616a772 /scripts | |
parent | 16e7d595987634e503104395663f7084108ced9a (diff) | |
download | openembedded-core-c056aeaa13549b404088e3d465f3b03443e5ab88.tar.gz openembedded-core-c056aeaa13549b404088e3d465f3b03443e5ab88.tar.bz2 openembedded-core-c056aeaa13549b404088e3d465f3b03443e5ab88.tar.xz openembedded-core-c056aeaa13549b404088e3d465f3b03443e5ab88.zip |
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-export-rootfs | 14 | ||||
-rwxr-xr-x | scripts/poky-extract-sdk | 2 | ||||
-rwxr-xr-x | scripts/poky-find-native-sysroot | 14 | ||||
-rwxr-xr-x | scripts/poky-setup-rpmrepo | 8 | ||||
-rwxr-xr-x | scripts/runqemu | 8 | ||||
-rwxr-xr-x | scripts/runqemu-internal | 8 |
6 files changed, 27 insertions, 27 deletions
diff --git a/scripts/poky-export-rootfs b/scripts/poky-export-rootfs index 3ab0597c9..764d19a82 100755 --- a/scripts/poky-export-rootfs +++ b/scripts/poky-export-rootfs @@ -46,8 +46,8 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then fi . $SYSROOT_SETUP_SCRIPT -if [ ! -e "$POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then - echo "Error: Unable to find rpc.mountd binary in $POKY_NATIVE_SYSROOT/usr/sbin/" +if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then + echo "Error: Unable to find rpc.mountd binary in $OECORE_NATIVE_SYSROOT/usr/sbin/" if [ "x$POKY_DISTRO_VERSION" = "x" ]; then echo "Have you run 'bitbake meta-ide-support'?" @@ -67,7 +67,7 @@ RMTAB=~/.poky-sdk/rmtab$NFS_INSTANCE NFSPID=~/.poky-sdk/nfs$NFS_INSTANCE.pid MOUNTPID=~/.poky-sdk/mount$NFS_INSTANCE.pid -PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" +PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr" PSEUDO_LOCALSTATEDIR="$NFS_EXPORT_DIR/var/pseudo" export PSEUDO_LOCALSTATEDIR @@ -99,8 +99,8 @@ fi case "$1" in start) echo "Starting User Mode rpc.mountd" - echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS" - $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS + echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS" + $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS if [ ! $? = 0 ]; then echo "=====================" echo "Error starting MOUNTD" @@ -122,8 +122,8 @@ case "$1" in exit 1 fi echo "Starting User Mode nfsd" - echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS" - $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS + echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS" + $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS if [ ! $? = 0 ]; then echo "Error starting nfsd" exit 1 diff --git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk index a36d79d31..ee2682e74 100755 --- a/scripts/poky-extract-sdk +++ b/scripts/poky-extract-sdk @@ -36,7 +36,7 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then exit 1 fi . $SYSROOT_SETUP_SCRIPT -PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" +PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr" ROOTFS_TARBALL=$1 SDK_ROOTFS_DIR=$2 diff --git a/scripts/poky-find-native-sysroot b/scripts/poky-find-native-sysroot index 226229421..d44fd9536 100755 --- a/scripts/poky-find-native-sysroot +++ b/scripts/poky-find-native-sysroot @@ -2,7 +2,7 @@ # # Find a native sysroot to use - either from an in-tree Poky build or # from a toolchain installation. It then ensures the variable -# $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets +# $OECORE_NATIVE_SYSROOT is set to the sysroot's base directory, and sets # $PSEUDO to the path of the pseudo binary. # # This script is intended to be run within other scripts by source'ing @@ -30,7 +30,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -if [ -z "$POKY_NATIVE_SYSROOT" ]; then +if [ -z "$OECORE_NATIVE_SYSROOT" ]; then BITBAKE=`which bitbake` if [ "x$BITBAKE" != "x" ]; then if [ "$UID" = "0" ]; then @@ -40,10 +40,10 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then exit 1 fi touch conf/sanity.conf - POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` + OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` rm -f conf/sanity.conf else - POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` + OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` fi else echo "Error: Unable to locate your native sysroot." @@ -56,8 +56,8 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then fi # Set up pseudo command -if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then - echo "Error: Unable to find pseudo binary in $POKY_NATIVE_SYSROOT/usr/bin/" +if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/pseudo" ]; then + echo "Error: Unable to find pseudo binary in $OECORE_NATIVE_SYSROOT/usr/bin/" if [ "x$POKY_DISTRO_VERSION" = "x" ]; then echo "Have you run 'bitbake meta-ide-support'?" @@ -69,4 +69,4 @@ if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then exit 1 fi fi -PSEUDO="$POKY_NATIVE_SYSROOT/usr/bin/pseudo" +PSEUDO="$OECORE_NATIVE_SYSROOT/usr/bin/pseudo" diff --git a/scripts/poky-setup-rpmrepo b/scripts/poky-setup-rpmrepo index 0e84ca9ee..03372b619 100755 --- a/scripts/poky-setup-rpmrepo +++ b/scripts/poky-setup-rpmrepo @@ -47,17 +47,17 @@ setup_tmpdir() { } setup_sysroot() { - # Toolchain installs set up $POKY_NATIVE_SYSROOT in their + # Toolchain installs set up $OECORE_NATIVE_SYSROOT in their # environment script. If that variable isn't set, we're # either in an in-tree poky scenario or the environment # script wasn't source'd. - if [ -z "$POKY_NATIVE_SYSROOT" ]; then + if [ -z "$OECORE_NATIVE_SYSROOT" ]; then setup_tmpdir BUILD_ARCH=`uname -m` BUILD_OS=`uname | tr '[A-Z]' '[a-z]'` BUILD_SYS="$BUILD_ARCH-$BUILD_OS" - POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS + OECORE_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS fi } @@ -76,7 +76,7 @@ if [ ! -d "$RPM_DIR" ]; then exit 1 fi -CREATEREPO=$POKY_NATIVE_SYSROOT/usr/bin/createrepo +CREATEREPO=$OECORE_NATIVE_SYSROOT/usr/bin/createrepo if [ ! -e "$CREATEREPO" ]; then echo "Error: can't find createrepo binary" echo "please run bitbake createrepo-native first" diff --git a/scripts/runqemu b/scripts/runqemu index 894a296e1..11b8c6e45 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -280,17 +280,17 @@ setup_tmpdir() { } setup_sysroot() { - # Toolchain installs set up $POKY_NATIVE_SYSROOT in their + # Toolchain installs set up $OECORE_NATIVE_SYSROOT in their # environment script. If that variable isn't set, we're # either in an in-tree poky scenario or the environment # script wasn't source'd. - if [ -z "$POKY_NATIVE_SYSROOT" ]; then + if [ -z "$OECORE_NATIVE_SYSROOT" ]; then setup_tmpdir BUILD_ARCH=`uname -m` BUILD_OS=`uname | tr '[A-Z]' '[a-z]'` BUILD_SYS="$BUILD_ARCH-$BUILD_OS" - POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS + OECORE_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS fi } @@ -380,7 +380,7 @@ echo "ROOTFS: [$ROOTFS]" echo "FSTYPE: [$FSTYPE]" setup_sysroot -# POKY_NATIVE_SYSROOT is now set for all cases +# OECORE_NATIVE_SYSROOT is now set for all cases # We can't run without a libGL.so libgl='no' diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 206e1cfe8..64374f207 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -161,10 +161,10 @@ if [ "$TAP" = "" ]; then GROUPID=`id -g` echo "Setting up tap interface under sudo" - tap=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT` + tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT` if [ $? -ne 0 ]; then # Re-run standalone to see verbose errors - sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT + sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT return fi LOCKFILE="$LOCKDIR/$tap" @@ -179,7 +179,7 @@ fi cleanup() { if [ ! -e "$NOSUDO_FLAG" ]; then - sudo $QEMUIFDOWN $TAP $POKY_NATIVE_SYSROOT + sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT fi echo "Releasing lockfile of preconfigured tap device '$TAP'" release_lock $LOCKFILE @@ -416,7 +416,7 @@ if [ "x$QEMUOPTIONS" = "x" ]; then return fi -PATH=$CROSSPATH:$POKY_NATIVE_SYSROOT/usr/bin:$PATH +PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH QEMUBIN=`which $QEMU` if [ ! -x "$QEMUBIN" ]; then |