All pastes #12769 Raw Edit

Unnamed

public text v1 · immutable
#12769 ·published 2005-05-27 10:03 UTC
rendered paste body
#!/bin/sh

# Set this to the location of bitbake
BB_DIR=~/zaurus/oe/bitbake

# The location of the OpenEmbedded dir
PKG_DIR=~/zaurus/oe/openembedded

HERE=`pwd`

cd $BB_DIR
svn update
cd $PKG_DIR
bk pull
bk -r co -q
cd $HERE
cd $1

#use this if using the openzaurus cross compiler
PATH=$BB_DIR/bin:/usr/local/arm/2.95.3/bin:${PATH}

# 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

#Stop multi byte characters breaking the patcher stuff and let other understand out bugs/errors
export LC_ALL=C

export BBPATH=`pwd`:$PKG_DIR:$BB_DIR
unset BB_DIR
unset PKG_DIR