scripts/poky-env-internal: Further cleanups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
f5e142abd6
commit
e1ab1e9ae1
|
@ -23,11 +23,11 @@ SCRIPTPATH=`readlink -f "$BASH_SOURCE"`
|
||||||
OEROOT="`dirname $SCRIPTPATH`/../"
|
OEROOT="`dirname $SCRIPTPATH`/../"
|
||||||
|
|
||||||
if [ "x$BDIR" = "x" ]; then
|
if [ "x$BDIR" = "x" ]; then
|
||||||
if [ "x$1" = "x" ]; then
|
if [ "x$1" = "x" ]; then
|
||||||
BDIR="build"
|
BDIR="build"
|
||||||
else
|
else
|
||||||
BDIR=`readlink -f "$1"`
|
BDIR=`readlink -f "$1"`
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$BDIR" = /* ]] ; then
|
if [[ "$BDIR" = /* ]] ; then
|
||||||
BUILDDIR="$BDIR"
|
BUILDDIR="$BDIR"
|
||||||
|
@ -98,13 +98,15 @@ fi
|
||||||
# Prevent disturbing a new GIT clone in same console
|
# Prevent disturbing a new GIT clone in same console
|
||||||
unset POKYLOCALCONF
|
unset POKYLOCALCONF
|
||||||
unset POKYLAYERCONF
|
unset POKYLAYERCONF
|
||||||
|
unset BITBAKEDIR
|
||||||
|
unset OEROOT
|
||||||
|
|
||||||
|
# Used by the poky-qemu script
|
||||||
export BUILDDIR
|
export BUILDDIR
|
||||||
|
export PATH
|
||||||
# Don't export TARGET_ARCH - it *will* cause build failures
|
|
||||||
export PATH LD_LIBRARY_PATH
|
|
||||||
# Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really
|
# Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really
|
||||||
export LANG=C
|
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
|
cat <<EOM
|
||||||
|
|
||||||
|
@ -122,4 +124,3 @@ You can also run generated qemu images with a command like 'poky-qemu qemux86'
|
||||||
|
|
||||||
EOM
|
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"
|
|
||||||
|
|
Loading…
Reference in New Issue