integration/soc: set build_name to platform.name when not specified.

This commit is contained in:
Florent Kermarrec 2020-05-21 09:05:45 +02:00
parent 16417cb8f1
commit a6cbbc9d69
1 changed files with 2 additions and 0 deletions

View File

@ -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 -----------------------------------------------------------------------------------------