From fea3a7ebc6f971324f052b4203a26bdddb65822f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 27 Feb 2024 15:59:44 +0100 Subject: [PATCH] cpu/naxriscv/core/git_setup: Clone submodules as recursive to prevent errors with submodules during the git checkout. --- litex/soc/cores/cpu/naxriscv/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/cpu/naxriscv/core.py b/litex/soc/cores/cpu/naxriscv/core.py index a052dc6b28..cdc81d4883 100755 --- a/litex/soc/cores/cpu/naxriscv/core.py +++ b/litex/soc/cores/cpu/naxriscv/core.py @@ -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)