summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-28 13:11:57 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-28 13:11:57 +0000
commite1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c (patch)
treeb47284211f5496951952c937085968e376cc4a27 /scripts
parentf5e142abd65f838c6c29ad5575ed771f9a71ea14 (diff)
downloadpoky-e1ab1e9ae130d178ffa17fb90eb4bb3fe02dd66c.tar.gz
scripts/poky-env-internal: Further cleanups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-env-internal17
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"`
23OEROOT="`dirname $SCRIPTPATH`/../" 23OEROOT="`dirname $SCRIPTPATH`/../"
24 24
25if [ "x$BDIR" = "x" ]; then 25if [ "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
31fi 31fi
32if [[ "$BDIR" = /* ]] ; then 32if [[ "$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
99unset POKYLOCALCONF 99unset POKYLOCALCONF
100unset POKYLAYERCONF 100unset POKYLAYERCONF
101unset BITBAKEDIR
102unset OEROOT
101 103
104# Used by the poky-qemu script
102export BUILDDIR 105export BUILDDIR
103 106export PATH
104# Don't export TARGET_ARCH - it *will* cause build failures
105export 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
107export LANG=C 108export LANG=C
109export 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
109cat <<EOM 111cat <<EOM
110 112
@@ -122,4 +124,3 @@ You can also run generated qemu images with a command like 'poky-qemu qemux86'
122 124
123EOM 125EOM
124 126
125export 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"