From: Florent Kermarrec Date: Tue, 23 Apr 2019 03:38:33 +0000 (+0200) Subject: build: scripts are generated by LiteX X-Git-Tag: 24jan2021_ls180~1304 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc141a64b9ee62e02cacac7bd4c03a3859f40736;p=litex.git build: scripts are generated by LiteX --- diff --git a/litex/build/altera/quartus.py b/litex/build/altera/quartus.py index 2aa02556..b26f7596 100644 --- a/litex/build/altera/quartus.py +++ b/litex/build/altera/quartus.py @@ -111,7 +111,7 @@ def _build_files(device, sources, vincpaths, named_sc, named_pc, build_name): def _run_quartus(build_name, quartus_path): - build_script_contents = """# Autogenerated by Migen + build_script_contents = """# Autogenerated by LiteX set -e diff --git a/litex/build/lattice/diamond.py b/litex/build/lattice/diamond.py index f604877d..9160f8f0 100644 --- a/litex/build/lattice/diamond.py +++ b/litex/build/lattice/diamond.py @@ -72,12 +72,12 @@ def _build_files(device, sources, vincpaths, build_name): def _build_script(build_name, device, toolchain_path, ver=None): if sys.platform in ("win32", "cygwin"): script_ext = ".bat" - build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n" + build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n" copy_stmt = "copy" fail_stmt = " || exit /b" else: script_ext = ".sh" - build_script_contents = "# Autogenerated by Migen\nset -e\n\n" + build_script_contents = "# Autogenerated by LiteX\nset -e\n\n" copy_stmt = "cp" fail_stmt = "" diff --git a/litex/build/lattice/icestorm.py b/litex/build/lattice/icestorm.py index ad262091..3f4ccc97 100644 --- a/litex/build/lattice/icestorm.py +++ b/litex/build/lattice/icestorm.py @@ -35,11 +35,11 @@ def _build_pre_pack(vns, freq_cstrs): def _build_script(source, build_template, build_name, **kwargs): if sys.platform in ("win32", "cygwin"): script_ext = ".bat" - build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n" + build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n" fail_stmt = " || exit /b" else: script_ext = ".sh" - build_script_contents = "# Autogenerated by Migen\nset -e\n\n" + build_script_contents = "# Autogenerated by LiteX\nset -e\n\n" fail_stmt = "" for s in build_template: diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 63a8d75d..d1ad5b78 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -75,11 +75,11 @@ def _build_script(source, build_template, build_name, architecture, package, freq_constraint): if sys.platform in ("win32", "cygwin"): script_ext = ".bat" - build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n" + build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n" fail_stmt = " || exit /b" else: script_ext = ".sh" - build_script_contents = "# Autogenerated by Migen\nset -e\n\n" + build_script_contents = "# Autogenerated by LiteX\nset -e\n\n" fail_stmt = "" for s in build_template: diff --git a/litex/build/microsemi/libero_soc.py b/litex/build/microsemi/libero_soc.py index a82ac586..c3e42f44 100644 --- a/litex/build/microsemi/libero_soc.py +++ b/litex/build/microsemi/libero_soc.py @@ -181,12 +181,12 @@ def _build_timing_sdc(vns, clocks, false_paths, build_name, additional_timing_co def _build_script(build_name, device, toolchain_path, ver=None): if sys.platform in ("win32", "cygwin"): script_ext = ".bat" - build_script_contents = "@echo off\nrem Autogenerated by Migen\n\n" + build_script_contents = "@echo off\nrem Autogenerated by LiteX\n\n" copy_stmt = "copy" fail_stmt = " || exit /b" else: script_ext = ".sh" - build_script_contents = "# Autogenerated by Migen\n\n" + build_script_contents = "# Autogenerated by LiteX\n\n" copy_stmt = "cp" fail_stmt = " || exit 1" diff --git a/litex/build/xilinx/ise.py b/litex/build/xilinx/ise.py index 39ff5b48..0242279d 100644 --- a/litex/build/xilinx/ise.py +++ b/litex/build/xilinx/ise.py @@ -91,13 +91,13 @@ def _run_ise(build_name, ise_path, source, mode, ngdbuild_opt, source_cmd = "call " script_ext = ".bat" shell = ["cmd", "/c"] - build_script_contents = "@echo off\nrem Autogenerated by Migen\n" + build_script_contents = "@echo off\nrem Autogenerated by LiteX\n" fail_stmt = " || exit /b" else: source_cmd = "source " script_ext = ".sh" shell = ["bash"] - build_script_contents = "# Autogenerated by Migen\nset -e\n" + build_script_contents = "# Autogenerated by LiteX\nset -e\n" fail_stmt = "" if source: settings = common.settings(ise_path, ver, "ISE_DS") diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index 9eb08e2b..d04ff2d4 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -58,13 +58,13 @@ def _build_xdc(named_sc, named_pc): def _run_vivado(build_name, vivado_path, source, ver=None): if sys.platform == "win32" or sys.platform == "cygwin": - build_script_contents = "REM Autogenerated by Migen\n" + build_script_contents = "REM Autogenerated by LiteX\n" build_script_contents += "vivado -mode batch -source " + build_name + ".tcl\n" build_script_file = "build_" + build_name + ".bat" tools.write_to_file(build_script_file, build_script_contents) command = build_script_file else: - build_script_contents = "# Autogenerated by Migen\nset -e\n" + build_script_contents = "# Autogenerated by LiteX\nset -e\n" # Only source Vivado settings if not already in our $PATH if not find_executable("vivado"): # For backwards compatibility with ISE paths, also