aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@gmail.com>2016-07-24 11:54:34 +0200
committerChristian Fetzer <fetzer.ch@gmail.com>2016-07-24 12:03:25 +0200
commit5baa78c965967922754a5904684c3ee96d6a60dc (patch)
treef9a169ce99ab08753e36f6221641b44ef5dd4358 /tools
parent3d6e54233ade7d53440860890bcf685c9bada9bc (diff)
[depends] Install config-binaddons.site and Toolchain_binaddons.cmake
Installing those two files allows to use xbmc-addons.include to build addons only with the installed depends. That way multiple versions of depends (android-arm, android-x86, ...) can be built and installed from one kodi source tree. Afterwards the source tree can be cleaned completely. When building with CMake, this enables to configure with `-DCMAKE_TOOLCHAIN_FILE=/opt/xbmc-depends/<platform>/share/Toolchain.cmake` and compile the binary addons afterwards with `make binary-addons ADDONS="visualization.spectrum"`.
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac
index 11b60e2e5e..fb0bd6dad1 100644
--- a/tools/depends/configure.ac
+++ b/tools/depends/configure.ac
@@ -593,5 +593,7 @@ if test "x$has_localeconv" == "xno" && test "$platform_os" == "android"; then
fi
cp -vf target/config.site $prefix/$deps_dir/share
+cp -vf target/config-binaddons.site $prefix/$tool_dir/share
cp -vf target/Toolchain.cmake $prefix/$deps_dir/share
+cp -vf target/Toolchain_binaddons.cmake $prefix/$deps_dir/share
cp -vf native/config.site.native $prefix/$tool_dir/share/config.site