From 854a97c641cd29940c9ae7874dbd46cc57f38d17 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Jul 2007 13:29:36 +0000 Subject: poky-env-internal: Allow user to overide build directory git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/poky-env-internal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 1b231bcdf4..ccbd2088ae 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -24,9 +24,13 @@ OEROOT=`pwd` +if [ "x$1" = "x" ]; then + BDIR="build" +fi + BBDIR="$OEROOT/bitbake/" PKGDIR="$OEROOT/meta/" -BUILDDIR="$OEROOT/build/" +BUILDDIR="$OEROOT/$BDIR/" MSG='' BUILD_ARCH=`uname -m` -- cgit v1.2.3-54-g00ecf