Skip to content

Commit

Permalink
cpu/naxriscv/core/git_setup: Clone submodules as recursive to prevent…
Browse files Browse the repository at this point in the history
… errors with submodules during the git checkout.
  • Loading branch information
enjoy-digital committed Feb 27, 2024
1 parent 253d1cf commit fea3a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/soc/cores/cpu/naxriscv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def git_setup(name, dir, repo, branch, hash):
if not os.path.exists(dir):
# Clone Repo.
print(f"Cloning {name} Git repository...")
subprocess.check_call("git clone {url} {options}".format(
subprocess.check_call("git clone {url} {options} --recursive".format(
url = repo,
options = dir
), shell=True)
Expand Down

0 comments on commit fea3a7e

Please sign in to comment.