aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/atv2/prepare-depends
blob: dad9176ea2555c4ceac24f2a1e73c8f83da21e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=atv2
. $WORKSPACE/tools/buildsteps/defaultenv

#clean without depends for skipping depends build if possible
cd $WORKSPACE;git clean -xfd -e "tools/depends"

if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
  #clean up the rest too
  cd $WORKSPACE;git clean -xfd
  cd $WORKSPACE/tools/depends/;./bootstrap
fi