Skip to content

Commit

Permalink
Update the submodules any time the .gitmodule file changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Nov 1, 2015
1 parent 8a2bf53 commit 8b86342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -66,8 +66,9 @@ all: clean gateware firmware
echo "Run 'make load' to load the firmware."

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

# Gateware
MODULES=migen misoc liteeth litescope
Expand Down

0 comments on commit 8b86342

Please sign in to comment.