blob: c084909dfada0a31ac047f2dc4608fbc50bd3501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=rbpi
. $WORKSPACE/tools/buildsteps/defaultenv
#clean without depends for skipping depends build if possible
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends"
if [ -d $JENKINS_RBPI_DEVENV/firmware ]
then
cd $JENKINS_RBPI_DEVENV/firmware;git pull origin master
else
cd $JENKINS_RBPI_DEVENV;git clone git://github.com/raspberrypi/firmware.git --depth=1 -b master
fi
if [ "$(rebuildDepends)" == "1" ]
then
#clean up the rest too
cd $WORKSPACE;git clean -xffd
cd $WORKSPACE/tools/depends/;./bootstrap
fi
|