From a6cbbc9d693b8c18ddecb38c65f57a93fa76f690 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 21 May 2020 09:05:45 +0200 Subject: [PATCH] integration/soc: set build_name to platform.name when not specified. --- litex/soc/integration/soc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index a31a3a63..8d5c2797 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -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 ----------------------------------------------------------------------------------------- -- 2.30.2