diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-28 13:11:57 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-28 13:11:57 +0000 |
commit | e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c (patch) | |
tree | b47284211f5496951952c937085968e376cc4a27 /scripts | |
parent | f5e142abd65f838c6c29ad5575ed771f9a71ea14 (diff) | |
download | openembedded-core-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.tar.gz openembedded-core-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.tar.bz2 openembedded-core-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.tar.xz openembedded-core-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.zip |
scripts/poky-env-internal: Further cleanups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-env-internal | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 6bdb8df41..5b206ed55 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -23,11 +23,11 @@ SCRIPTPATH=`readlink -f "$BASH_SOURCE"` OEROOT="`dirname $SCRIPTPATH`/../" if [ "x$BDIR" = "x" ]; then - if [ "x$1" = "x" ]; then + if [ "x$1" = "x" ]; then BDIR="build" - else - BDIR=`readlink -f "$1"` - fi + else + BDIR=`readlink -f "$1"` + fi fi if [[ "$BDIR" = /* ]] ; then BUILDDIR="$BDIR" @@ -98,13 +98,15 @@ fi # Prevent disturbing a new GIT clone in same console unset POKYLOCALCONF unset POKYLAYERCONF +unset BITBAKEDIR +unset OEROOT +# Used by the poky-qemu script export BUILDDIR - -# Don't export TARGET_ARCH - it *will* cause build failures -export PATH LD_LIBRARY_PATH +export PATH # Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really export LANG=C +export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND" cat <<EOM @@ -122,4 +124,3 @@ You can also run generated qemu images with a command like 'poky-qemu qemux86' EOM -export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND" |