aboutsummaryrefslogtreecommitdiff
path: root/lib/asap/win32/build_xbmc_win32.sh
blob: 47d9f011419c185216380cba9d3cbb51a838d367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

MAKEFLAGS=""
BGPROCESSFILE="$2"

if [ "$1" == "clean" ]
then
make clean
fi
if [ $NUMBER_OF_PROCESSORS > 1 ]; then
  MAKEFLAGS=-j$NUMBER_OF_PROCESSORS
fi

make $MAKEFLAGS xbmc

cp xbmc_asap.dll /xbmc/system/players/paplayer/
#remove the bgprocessfile for signaling the process end
rm $BGPROCESSFILE