diff options
author | Christian Fetzer <fetzer.ch@gmail.com> | 2016-04-26 22:32:47 +0200 |
---|---|---|
committer | Christian Fetzer <fetzer.ch@gmail.com> | 2016-05-04 07:47:08 +0200 |
commit | 003dfb869527b3de81f65b3ad59cd50dd1221188 (patch) | |
tree | d1ef03b6d482c0aacca0a705776bd7d25c19bdf4 /tools/buildsteps/osx64 | |
parent | afb149b86605538919374c185982eca8412e81c9 (diff) |
[jenkins/cmake] Adapt addon installation
CMake builds out of tree, hence we need to install the addons to
build/addons so that they can be packaged together. Since they are
built before Kodi, don't fail the build when the build directory
exists.
Diffstat (limited to 'tools/buildsteps/osx64')
-rwxr-xr-x | tools/buildsteps/osx64/make-binary-addons | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/buildsteps/osx64/make-binary-addons b/tools/buildsteps/osx64/make-binary-addons index b27b07ddf6..1625f933d1 100755 --- a/tools/buildsteps/osx64/make-binary-addons +++ b/tools/buildsteps/osx64/make-binary-addons @@ -15,7 +15,13 @@ then do echo "building $addon" git clean -xffd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon - cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 || ALL_BINARY_ADDONS_BUILT="0" + + if [ "$CMAKE_BUILD" = true ]; then + INSTALL_PREFIX="../../../../../build/addons/" + else + INSTALL_PREFIX="../../../../../addons/" + fi + cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 INSTALL_PREFIX="$INSTALL_PREFIX" || ALL_BINARY_ADDONS_BUILT="0" done fi |