Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
109f2dd1
Commit
109f2dd1
authored
7 years ago
by
William D. Jones
Committed by
Sébastien Bourdeauducq
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
lattice/icestorm: Separate build script header from commands.
parent
a12c7718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
migen/build/lattice/icestorm.py
migen/build/lattice/icestorm.py
+2
-2
No files found.
migen/build/lattice/icestorm.py
View file @
109f2dd1
...
@@ -38,12 +38,12 @@ def _run_icestorm(source, build_template, build_name, pnr_pkg_opts,
...
@@ -38,12 +38,12 @@ def _run_icestorm(source, build_template, build_name, pnr_pkg_opts,
if
sys
.
platform
==
"win32"
or
sys
.
platform
==
"cygwin"
:
if
sys
.
platform
==
"win32"
or
sys
.
platform
==
"cygwin"
:
script_ext
=
".bat"
script_ext
=
".bat"
shell
=
[
"cmd"
,
"/c"
]
shell
=
[
"cmd"
,
"/c"
]
build_script_contents
=
"@echo off
\n
rem Autogenerated by Migen
\n
"
build_script_contents
=
"@echo off
\n
rem Autogenerated by Migen
\n
\n
"
fail_stmt
=
" || exit /b"
fail_stmt
=
" || exit /b"
else
:
else
:
script_ext
=
".sh"
script_ext
=
".sh"
shell
=
[
"bash"
]
shell
=
[
"bash"
]
build_script_contents
=
"# Autogenerated by Migen
\n
set -e
\n
"
build_script_contents
=
"# Autogenerated by Migen
\n
set -e
\n
\n
"
fail_stmt
=
""
fail_stmt
=
""
for
s
in
build_template
:
for
s
in
build_template
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment