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

if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
  cd $WORKSPACE/tools/depends;

  PATH="$PATH:$JENKINS_RBPI_DEVENV/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin" \
  ./configure --with-platform=raspberry-pi --host=arm-linux-gnueabihf --prefix=$XBMC_DEPENDS_ROOT --with-tarballs=$TARBALLS \
    --with-toolchain=$JENKINS_RBPI_DEVENV/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot \
    --with-firmware=$JENKINS_RBPI_DEVENV/firmware --build=i686-linux
fi