integration/soc: set build_name to platform.name when not specified.
This commit is contained in:
parent
16417cb8f1
commit
a6cbbc9d69
|
@ -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 New Issue