Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving migen and misoc to submodules.
- Loading branch information
Showing
6 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,6 @@ firmware/lm32/firmware.elf | |
firmware/lm32/version.h | ||
test/dump.png | ||
build | ||
misoc | ||
makestuff | ||
migen | ||
misoc | ||
*.pyc | ||
*.pnm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[submodule "firmware/fx2/fx2lib"] | ||
path = firmware/fx2/fx2lib | ||
url = https://github.com/timvideos/fx2lib | ||
[submodule "build/misoc"] | ||
path = build/misoc | ||
url = https://github.com/m-labs/misoc.git | ||
[submodule "build/migen"] | ||
path = build/migen | ||
url = https://github.com/m-labs/migen.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
|
||
( | ||
cd build/migen | ||
git fetch origin | ||
git checkout origin/master | ||
) | ||
MIGEN_VERSION=$(cd build/migen; git describe --always --dirty) | ||
git add build/migen | ||
|
||
( | ||
cd build/misoc | ||
git fetch origin | ||
git checkout origin/master | ||
) | ||
MISOC_VERSION=$(cd build/misoc; git describe --always --dirty) | ||
git add build/misoc | ||
|
||
echo "migen now $MIGEN_VERSION" | ||
echo "misoc now $MISOC_VERSION" | ||
|
||
cat << EOF | ||
git commit -F- <<EOF | ||
Updating migen+misoc submodules | ||
* migen to $MIGEN_VERSION | ||
* misoc to $MISOC_VERSION | ||
EOF |