diff options
author | Memphiz <memphis@machzwo.de> | 2015-02-14 22:40:56 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-02-17 21:36:34 +0100 |
commit | 060c1dc48b96d53606eaa6c85698a5e52445b003 (patch) | |
tree | 3c90d2bcc2cc15f110852c5f389e0d3df1d486cd /tools | |
parent | 1f08bf3fd3e9d173cd73f8e7bdfce7a94f45b823 (diff) |
[pvr-addons] - make sure that the git repo are in the prefix and not in a shared dir (else we race if multiple nodes on the same mashine are trying to do any operations on this shared repo)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/xbmc-pvr-addons/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/depends/target/xbmc-pvr-addons/Makefile b/tools/depends/target/xbmc-pvr-addons/Makefile index 4b37af033a..b981edc3f7 100644 --- a/tools/depends/target/xbmc-pvr-addons/Makefile +++ b/tools/depends/target/xbmc-pvr-addons/Makefile @@ -3,7 +3,7 @@ include ../../Makefile.include LIBNAME=xbmc-pvr-addons VERSION=2fb0fc22668b1efdec05e66161d6c419844ee9cd -GIT_DIR=$(TARBALLS_LOCATION)/$(LIBNAME).git +GIT_DIR=$(PREFIX)/gitrepos/$(LIBNAME).git BASE_URL=git://github.com/opdenkamp/$(LIBNAME).git DYLIB=$(PLATFORM)/addons/pvr.demo/.libs/libpvrdemo-addon.so XBMC_ADDONSDIR=../../../../addons @@ -23,7 +23,8 @@ CONFIGURE=./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/lib/$(APP_NAME)/addo all: .installed-$(PLATFORM) $(GIT_DIR)/HEAD: - cd $(TARBALLS_LOCATION); git clone --bare $(BASE_URL) + mkdir -p $(PREFIX)/gitrepos/ + cd $(PREFIX)/gitrepos/; git clone --bare $(BASE_URL) $(GIT_DIR)/current/$(VERSION): $(GIT_DIR)/HEAD $(DEPS) git rev-list -1 $(VERSION) >/dev/null || git fetch origin "+refs/heads/*:refs/remotes/origin/*" |