WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=rbpi
. $WORKSPACE/tools/buildsteps/defaultenv
if [ "$CMAKE_BUILD" = true ]; then
make -C $WORKSPACE/tools/depends/target/cmakebuildsys
else
cd $WORKSPACE
make -C tools/buildsteps/rbpi -f config-xbmc-makefile
fi