BBPATH=/data/buid/oe/:/data/build/oe/openembedded/
PKGDIR=/data/build/oe/build/
DL_DIR=/data/build/oe/downloads
echo Setting up dev env for OE on ARM
if [ -z ${ORG_PATH} ]
then
ORG_PATH=${PATH}
export ORG_PATH
fi
if [ -z ${ORG_LD_LIBRARY_PATH} ]
then
ORG_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export ORG_LD_LIBRARY_PATH
fi
# Add the oe stuff to the path
PATH=/data/build/oe/bb/bin:/usr/local/arm/2.95.3/bin:${ORG_PATH}
# change to the packages dir
cd $PKGDIR
# Blank this so we don't link non-arm libraries
LD_LIBRARY_PATH=
# Don't export TARGET_ARCH - it *will* cause build failures
export PATH LD_LIBRARY_PATH BBPATH
#Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really
export LANG=C
echo "Altered environment for OE Development ARM"