Skip to content
This repository
Browse code

changed, add XBMCROOT env var so we know where <xbmc root> is via an …

…absolute path
  • Loading branch information...
commit 4aaefa45fdb501c4d6cb1892f7956a2825ebd73f 1 parent 983b12f
authored June 20, 2013
3  tools/depends/Makefile.include.in
... ...
@@ -1,6 +1,9 @@
  1
+abs_top_srcdir=@abs_top_srcdir@
  2
+
1 3
 TOOLCHAIN=@use_toolchain@
2 4
 NDKROOT=@use_ndk@
3 5
 SDKROOT=@use_sdk_path@
  6
+XBMCROOT=$(abspath $(abs_top_srcdir)/../../)
4 7
 TARBALLS_LOCATION=@use_tarballs@
5 8
 PLATFORM=@deps_dir@
6 9
 HOST=@use_host@
4  tools/depends/target/xbmc-addon-bindings/Makefile
... ...
@@ -1,7 +1,5 @@
1 1
 include ../../Makefile.include
2 2
 DEPS= ../../Makefile.include Makefile
3  
-# not happy about this, tools/depends/configure should create this
4  
-XBMC_ROOT= ../../../../
5 3
 
6 4
 # sync with <xbmc root>Makefile.in
7 5
 BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
@@ -24,7 +22,7 @@ all: .installed-$(PLATFORM)
24 22
 	@echo "Copy addon bindings to $(PREFIX)/include/xbmc"
25 23
 	@mkdir -p $(PREFIX)/include/xbmc
26 24
 	@for f in $(BINDINGS); do \
27  
-	  cp -f $(XBMC_ROOT)/$$f $(PREFIX)/include/xbmc ; \
  25
+	  cp -f $(XBMCROOT)/$$f $(PREFIX)/include/xbmc ; \
28 26
 	done
29 27
 	@touch $@
30 28
 

0 notes on commit 4aaefa4

Please sign in to comment.
Something went wrong with that request. Please try again.