poky-env-internal: fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
b2d7cb6746
commit
7d44fdb7dc
|
@ -26,6 +26,8 @@ OEROOT=`pwd`
|
||||||
|
|
||||||
if [ "x$1" = "x" ]; then
|
if [ "x$1" = "x" ]; then
|
||||||
BDIR="build"
|
BDIR="build"
|
||||||
|
else
|
||||||
|
BDIR="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BBDIR="$OEROOT/bitbake/"
|
BBDIR="$OEROOT/bitbake/"
|
||||||
|
@ -48,7 +50,6 @@ BUILDDIR=`readlink -f "$BUILDDIR"`
|
||||||
|
|
||||||
if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
|
if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
|
||||||
echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
|
echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
||||||
|
|
Loading…
Reference in New Issue