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/poky-setup-rpmrepo | |
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/poky-setup-rpmrepo')
-rwxr-xr-x | scripts/poky-setup-rpmrepo | 8 |
1 files changed, 4 insertions, 4 deletions
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" |