diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index ee7a0a935c..c08bfd5c37 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -37,6 +37,8 @@ PKGDIR_MOBLIN="$OEROOT/meta-moblin/" BUILDDIR="$OEROOT/$BDIR/" MSG='' +unset BDIR + BUILD_ARCH=`uname -m` BUILD_OS=`uname | tr [A-Z] [a-z]` BUILD_SYS="$BUILD_ARCH-$BUILD_OS"