blob: 7f1cc6d14edd39abe61f345ab83924bbeede5783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=linux64
. $WORKSPACE/tools/buildsteps/defaultenv
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends
for addon in $BINARY_ADDONS
do
ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons if something in the addons metadata changed
if [ "$(pathChanged $WORKSPACE/project/cmake)" == "1" ]
then
echo "building $addon"
git clean -xffd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon
cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS || ALL_BINARY_ADDONS_BUILT="0"
fi
done
if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
else
#make jenkins fail
exit 1
fi
|