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 | poky-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.tar.gz |
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 6bdb8df41e..5b206ed55c 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal | |||
@@ -23,11 +23,11 @@ SCRIPTPATH=`readlink -f "$BASH_SOURCE"` | |||
23 | OEROOT="`dirname $SCRIPTPATH`/../" | 23 | OEROOT="`dirname $SCRIPTPATH`/../" |
24 | 24 | ||
25 | if [ "x$BDIR" = "x" ]; then | 25 | if [ "x$BDIR" = "x" ]; then |
26 | if [ "x$1" = "x" ]; then | 26 | if [ "x$1" = "x" ]; then |
27 | BDIR="build" | 27 | BDIR="build" |
28 | else | 28 | else |
29 | BDIR=`readlink -f "$1"` | 29 | BDIR=`readlink -f "$1"` |
30 | fi | 30 | fi |
31 | fi | 31 | fi |
32 | if [[ "$BDIR" = /* ]] ; then | 32 | if [[ "$BDIR" = /* ]] ; then |
33 | BUILDDIR="$BDIR" | 33 | BUILDDIR="$BDIR" |
@@ -98,13 +98,15 @@ fi | |||
98 | # Prevent disturbing a new GIT clone in same console | 98 | # Prevent disturbing a new GIT clone in same console |
99 | unset POKYLOCALCONF | 99 | unset POKYLOCALCONF |
100 | unset POKYLAYERCONF | 100 | unset POKYLAYERCONF |
101 | unset BITBAKEDIR | ||
102 | unset OEROOT | ||
101 | 103 | ||
104 | # Used by the poky-qemu script | ||
102 | export BUILDDIR | 105 | export BUILDDIR |
103 | 106 | export PATH | |
104 | # Don't export TARGET_ARCH - it *will* cause build failures | ||
105 | export PATH LD_LIBRARY_PATH | ||
106 | # Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really | 107 | # Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really |
107 | export LANG=C | 108 | export LANG=C |
109 | 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" | ||
108 | 110 | ||
109 | cat <<EOM | 111 | cat <<EOM |
110 | 112 | ||
@@ -122,4 +124,3 @@ You can also run generated qemu images with a command like 'poky-qemu qemux86' | |||
122 | 124 | ||
123 | EOM | 125 | EOM |
124 | 126 | ||
125 | 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" | ||