Browse Source

- update.mk: fetch all remote repos

master
vanhofen 6 years ago
parent
commit
4d5989177a
  1. 20
      make/update.mk

20
make/update.mk

@ -22,17 +22,18 @@ ifeq ($(NI_ADMIN), true)
export GIT_MERGE_AUTOEDIT=no && \ export GIT_MERGE_AUTOEDIT=no && \
cd $(SOURCE_DIR)/$(NI_NEUTRINO) && \ cd $(SOURCE_DIR)/$(NI_NEUTRINO) && \
git checkout $(NI_NEUTRINO_BRANCH) && \ git checkout $(NI_NEUTRINO_BRANCH) && \
#git pull $(TUXBOX_REMOTE_REPO) $(TUXBOX_NEUTRINO_BRANCH) && \ git fetch --all
git fetch $(TUXBOX_REMOTE_REPO)
cd $(SOURCE_DIR)/$(NI_LIBSTB-HAL) && \ cd $(SOURCE_DIR)/$(NI_LIBSTB-HAL) && \
git checkout master && \ git checkout master && \
git pull $(TANGO_REMOTE_REPO) master && \ git fetch --all && \
git fetch $(TANGO_REMOTE_REPO) git pull $(TANGO_REMOTE_REPO) master
cd $(SOURCE_DIR)/$(NI_OFGWRITE) && \ cd $(SOURCE_DIR)/$(NI_OFGWRITE) && \
git checkout master && \ git checkout master && \
git pull upstream master && \ git fetch --all && \
git fetch upstream git pull upstream master
cd $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS) && \ cd $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS) && \
git checkout master && \
git fetch --all && \
./update-tuxbox-remotes.sh ./update-tuxbox-remotes.sh
endif endif
@ -44,11 +45,7 @@ update-ni-force:
make ni-sources make ni-sources
make update-ni-sources make update-ni-sources
pull \
update-ni-sources: ni-sources update-ni-sources: ni-sources
ifeq ($(HAS_INTERNALS), yes)
cd $(BASE_DIR)/$(NI_INTERNALS) && git pull
endif
cd $(BUILD-GENERIC-PC) && git pull cd $(BUILD-GENERIC-PC) && git pull
cd $(SOURCE_DIR)/$(NI_DRIVERS-BIN) && git pull cd $(SOURCE_DIR)/$(NI_DRIVERS-BIN) && git pull
cd $(SOURCE_DIR)/$(NI_FFMPEG) && git pull --all && git checkout $(NI_FFMPEG_BRANCH) cd $(SOURCE_DIR)/$(NI_FFMPEG) && git pull --all && git checkout $(NI_FFMPEG_BRANCH)
@ -69,6 +66,7 @@ update-ni:
make update-neutrino make update-neutrino
make update-ni-sources make update-ni-sources
pull \
update-all: update-ni update-remotes update-all: update-ni update-remotes
push: push:
@ -78,7 +76,7 @@ ifeq ($(HAS_INTERNALS), yes)
endif endif
cd $(BUILD-GENERIC-PC) && git push cd $(BUILD-GENERIC-PC) && git push
cd $(SOURCE_DIR)/$(NI_DRIVERS-BIN) && git push cd $(SOURCE_DIR)/$(NI_DRIVERS-BIN) && git push
cd $(SOURCE_DIR)/$(NI_FFMPEG) && git push cd $(SOURCE_DIR)/$(NI_FFMPEG) && git push --all
ifeq ($(HAS_LIBCS), yes) ifeq ($(HAS_LIBCS), yes)
cd $(SOURCE_DIR)/$(NI_LIBCOOLSTREAM) && git push --all cd $(SOURCE_DIR)/$(NI_LIBCOOLSTREAM) && git push --all
endif endif

Loading…
Cancel
Save