mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
integration/soc: set build_name to platform.name when not specified.
This commit is contained in:
parent
16417cb8f1
commit
a6cbbc9d69
1 changed files with 2 additions and 0 deletions
|
@ -931,6 +931,8 @@ class SoC(Module):
|
|||
|
||||
# SoC build ------------------------------------------------------------------------------------
|
||||
def build(self, *args, **kwargs):
|
||||
self.build_name = kwargs.pop("build_name", self.platform.name)
|
||||
kwargs.update({"build_name": self.build_name})
|
||||
return self.platform.build(self, *args, **kwargs)
|
||||
|
||||
# LiteXSoC -----------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue