aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2014-11-07 10:27:49 +0100
committermontellese <montellese@xbmc.org>2015-01-10 18:40:30 +0100
commit9e2b530f42d2ab8a98b67466e78be95807f224c4 (patch)
tree75d650a9bd2c1c38bebb6afc9009b81d0e0bdf4d /tools
parent06888bd10b40a82b985a882f1a6e490c6d57d587 (diff)
[depends] adapt binary addon building to new system
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/xbmc-audioencoder-addons/Makefile3
-rw-r--r--tools/depends/xbmc-addons.include4
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/depends/target/xbmc-audioencoder-addons/Makefile b/tools/depends/target/xbmc-audioencoder-addons/Makefile
index bac083aa25..bfcd9ee2f8 100644
--- a/tools/depends/target/xbmc-audioencoder-addons/Makefile
+++ b/tools/depends/target/xbmc-audioencoder-addons/Makefile
@@ -1,3 +1,4 @@
-include ../../xbmc-addons.include
+BUILDDIR := $(shell pwd)
ADDONS = "audioencoder.flac audioencoder.lame audioencoder.vorbis audioencoder.wav"
+include ../../Makefile.include ../../xbmc-addons.include
diff --git a/tools/depends/xbmc-addons.include b/tools/depends/xbmc-addons.include
index 34d2d20a62..d66116df08 100644
--- a/tools/depends/xbmc-addons.include
+++ b/tools/depends/xbmc-addons.include
@@ -1,5 +1,3 @@
--include Makefile.include
-
ifeq ($(PLATFORM),)
PLATFORM = native
endif
@@ -33,6 +31,6 @@ endif
mkdir -p $(PLATFORM); \
cd $(PLATFORM); \
$(CMAKE) -DCMAKE_INSTALL_PREFIX=$(INSTALL_PREFIX) -DCMAKE_PREFIX_PATH=$(PREFIX) $(CMAKE_EXTRA) \
- -DADDONS_TO_BUILD=$(ADDONS) ../../../../../project/cmake/addons/ ;\
+ -DADDONS_TO_BUILD=$(ADDONS) ../../../../../project/cmake/addons/ -DBUILD_DIR=$(BUILDDIR)/$(PLATFORM)/build ;\
$(MAKE);
touch $@