Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…absolute path
  • Loading branch information...
commit 4aaefa45fdb501c4d6cb1892f7956a2825ebd73f 1 parent 983b12f
@davilla davilla authored
View
3  tools/depends/Makefile.include.in
@@ -1,6 +1,9 @@
+abs_top_srcdir=@abs_top_srcdir@
+
TOOLCHAIN=@use_toolchain@
NDKROOT=@use_ndk@
SDKROOT=@use_sdk_path@
+XBMCROOT=$(abspath $(abs_top_srcdir)/../../)
TARBALLS_LOCATION=@use_tarballs@
PLATFORM=@deps_dir@
HOST=@use_host@
View
4 tools/depends/target/xbmc-addon-bindings/Makefile
@@ -1,7 +1,5 @@
include ../../Makefile.include
DEPS= ../../Makefile.include Makefile
-# not happy about this, tools/depends/configure should create this
-XBMC_ROOT= ../../../../
# sync with <xbmc root>Makefile.in
BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
@@ -24,7 +22,7 @@ all: .installed-$(PLATFORM)
@echo "Copy addon bindings to $(PREFIX)/include/xbmc"
@mkdir -p $(PREFIX)/include/xbmc
@for f in $(BINDINGS); do \
- cp -f $(XBMC_ROOT)/$$f $(PREFIX)/include/xbmc ; \
+ cp -f $(XBMCROOT)/$$f $(PREFIX)/include/xbmc ; \
done
@touch $@
Please sign in to comment.
Something went wrong with that request. Please try again.