All pastes #1287840 Raw Edit

Something

public text v1 · immutable
#1287840 ·published 2008-12-17 17:12 UTC
rendered paste body
#!/bin/sh

# Set this to the location of bb
BB_DIR=/home/hrw/devel/bitbake/bitbake

# The location of the packages build dir (sometimes bb/packages or bb/../packages)
OE_DIR=/home/hrw/devel/oe/openembedded/

HERE=`pwd`

cd $BB_DIR 
svn cleanup
svn update
cd $HERE
cd $OE_DIR
git pull 
cd $HERE
cd $1

# Blank this so we don't link non-arm libraries
LD_LIBRARY_PATH=

PATH=$BB_DIR/bin:$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
export LC_ALL=C

bbrebuild()
{
	bitbake -b $1 --cmd=clean
	bitbake -b $1
}

export BBPATH=`pwd`:$OE_DIR

export BB_ENV_EXTRAWHITE="MACHINE"