aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/rbpi/configure-depends
blob: 32fb7a1f0bf654e6a6a0467bd5e2fd83123d9656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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-x64/bin" \
  ./configure --with-platform=raspberry-pi --host=arm-linux-gnueabihf --prefix=$XBMC_DEPENDS_ROOT --with-tarballs=$TARBALLS \
    --with-firmware=$JENKINS_RBPI_DEVENV/firmware --build=i686-linux
fi