mibuild/xilinx_vivado: fix list aliasing problem
This commit is contained in:
parent
8576b91290
commit
6fca1dd4dc
|
@ -89,8 +89,11 @@ def _run_vivado(build_name, vivado_path, source, ver=None):
|
||||||
raise OSError("Subprocess failed")
|
raise OSError("Subprocess failed")
|
||||||
|
|
||||||
class XilinxVivadoPlatform(xilinx_common.XilinxGenericPlatform):
|
class XilinxVivadoPlatform(xilinx_common.XilinxGenericPlatform):
|
||||||
bitstream_commands = []
|
def __init__(self, *args, **kwargs):
|
||||||
additional_commands = []
|
xilinx_common.XilinxGenericPlatform.__init__(self, *args, **kwargs)
|
||||||
|
self.bitstream_commands = []
|
||||||
|
self.additional_commands = []
|
||||||
|
|
||||||
def build(self, fragment, build_dir="build", build_name="top",
|
def build(self, fragment, build_dir="build", build_name="top",
|
||||||
vivado_path="/opt/Xilinx/Vivado", source=True, run=True):
|
vivado_path="/opt/Xilinx/Vivado", source=True, run=True):
|
||||||
tools.mkdir_noerror(build_dir)
|
tools.mkdir_noerror(build_dir)
|
||||||
|
|
Loading…
Reference in New Issue