Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
3c094d3d
Commit
3c094d3d
authored
Jun 28, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong 'mkdir' command for Modelsim Linux makefiles
parent
55f46c5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sim_makefile_support.py
hdlmake/tools/common/sim_makefile_support.py
+4
-4
No files found.
hdlmake/tools/common/sim_makefile_support.py
View file @
3c094d3d
...
...
@@ -68,11 +68,11 @@ class VsimMakefileWriter(MakefileWriter):
if
platform
.
system
()
==
'Windows'
:
del_command
=
"rm -rf"
mkdir_
r_
command
=
"mkdir"
mkdir_command
=
"mkdir"
slash_char
=
"
\\
"
else
:
del_command
=
"rm -rf"
mkdir_
r_command
=
"mkdir -r
"
mkdir_
command
=
"mkdir -p
"
slash_char
=
"/"
self
.
vlog_flags
.
append
(
self
.
__get_rid_of_vsim_incdirs
(
top_module
.
vlog_opt
))
...
...
@@ -211,7 +211,7 @@ sim_post_cmd:
compile_line
=
compile_template
.
substitute
(
library
=
vl
.
library
,
sv_option
=
"-sv"
if
isinstance
(
vl
,
SVFile
)
else
""
)
self
.
writeln
(
compile_line
)
self
.
write
(
"
\t\t
@"
+
mkdir_
r_
command
+
" $(dir $@)"
)
self
.
write
(
"
\t\t
@"
+
mkdir_command
+
" $(dir $@)"
)
self
.
writeln
(
" && touch $@
\n\n
"
)
self
.
write
(
"
\n
"
)
...
...
@@ -234,7 +234,7 @@ sim_post_cmd:
self
.
writeln
()
self
.
writeln
(
' '
.
join
([
"
\t\t
vcom $(VCOM_FLAGS)"
,
vhdl
.
vcom_opt
,
"-work"
,
lib
,
"$< "
]))
self
.
writeln
(
"
\t\t
@"
+
mkdir_
r_
command
+
" $(dir $@) && touch $@
\n
"
)
self
.
writeln
(
"
\t\t
@"
+
mkdir_command
+
" $(dir $@) && touch $@
\n
"
)
self
.
writeln
()
def
__create_copy_rule
(
self
,
name
,
src
):
...
...
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