diff options
author | wsnipex <wsnipex@a1.net> | 2015-02-22 22:21:29 +0100 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-03-01 21:02:33 +0100 |
commit | 98bf72d090d374a0b164e73c18aec7e5d06f7f0f (patch) | |
tree | 690b49b0bb6a5a7ef952d251f7d6154d9dbc1042 /tools/depends/xbmc-addons.include | |
parent | efaf6f1c9ad13523cf0278c5cfaca1f76b83dc34 (diff) |
cmake: ask for sudo rights on addon install to system dirs
Diffstat (limited to 'tools/depends/xbmc-addons.include')
-rw-r--r-- | tools/depends/xbmc-addons.include | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/depends/xbmc-addons.include b/tools/depends/xbmc-addons.include index b010279cb2..d0662de9f9 100644 --- a/tools/depends/xbmc-addons.include +++ b/tools/depends/xbmc-addons.include @@ -59,6 +59,9 @@ endif $(TOOLCHAIN) \ -DADDONS_TO_BUILD=$(ADDONS) ../../../../../project/cmake/addons/ -DBUILD_DIR=$(BUILDDIR)/$(PLATFORM)/build ;\ $(MAKE); +ifneq ($(CROSS_COMPILING),yes) + @[ -w $(INSTALL_PREFIX) ] || $(MAKE) -C $(PLATFORM) install +endif touch $@ $(TOOLCHAIN_FILE): $(abs_top_srcdir)/target/Toolchain_binaddons.cmake |