diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-buildenv-internal | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 9de7b0510..05c6cd8ce 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal @@ -54,7 +54,11 @@ else fi unset BDIR -BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/" +if [ "x$2" = "x" ]; then + BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/" +else + BITBAKEDIR="$2" +fi BITBAKEDIR=`readlink -f "$BITBAKEDIR"` BUILDDIR=`readlink -f "$BUILDDIR"` |