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
ba831ab5
Commit
ba831ab5
authored
Apr 01, 2019
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hot Fix include_dirs mechanism
parent
ffa3ba6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
content.py
hdlmake/module/content.py
+2
-8
No files found.
hdlmake/module/content.py
View file @
ba831ab5
...
...
@@ -190,15 +190,9 @@ class ModuleContent(ModuleCore):
srcs
=
SourceFileSet
()
# Check if this is the top module and grab the include_dirs
if
self
.
parent
is
None
:
if
'include_dirs'
in
self
.
manifest_dict
:
include_dirs
=
self
.
manifest_dict
[
'include_dirs'
]
else
:
include_dirs
=
[]
include_dirs
=
self
.
manifest_dict
.
get
(
'include_dirs'
,
[])
else
:
if
'include_dirs'
in
self
.
manifest_dict
:
include_dirs
=
self
.
top_module
.
manifest_dict
[
'include_dirs'
]
else
:
include_dirs
=
[]
include_dirs
=
self
.
top_module
.
manifest_dict
.
get
(
'include_dirs'
,
[])
for
path_aux
in
paths
:
if
os
.
path
.
isdir
(
path_aux
):
dir_
=
os
.
listdir
(
path_aux
)
...
...
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