Navigation Menu

Skip to content

Commit

Permalink
makefiles: Adding git submodule sync
Browse files Browse the repository at this point in the history
This fixes issues with the URL changing.
  • Loading branch information
mithro committed Jan 27, 2016
1 parent ad19ed8 commit e132269
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -72,7 +72,8 @@ all: clean gateware firmware

# Initialize submodules automatically
third_party/%/.git: .gitmodules
git submodule update --recursive --init $(dir $@)
git submodule sync --recursive -- $$(dirname $@)
git submodule update --recursive --init $$(dirname $@)
touch $@ -r .gitmodules

# Gateware
Expand Down
2 changes: 1 addition & 1 deletion third_party/migen
Submodule migen updated 1 files
+0 −3 mibuild/tools.py
2 changes: 1 addition & 1 deletion third_party/misoc

0 comments on commit e132269

Please sign in to comment.