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
49355279
Commit
49355279
authored
Mar 04, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor renaming, comments added.
parent
614874ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
action.py
hdlmake/action/action.py
+1
-1
module.py
hdlmake/module/module.py
+6
-5
No files found.
hdlmake/action/action.py
View file @
49355279
...
...
@@ -70,7 +70,7 @@ class Action(object):
return
new_module
def
load_all_manifests
(
self
):
#
Top level module
.
#
Load the top level module (which is in the current directory)
.
assert
self
.
top_manifest
is
None
self
.
top_manifest
=
self
.
new_module
(
parent
=
None
,
url
=
os
.
getcwd
(),
...
...
hdlmake/module/module.py
View file @
49355279
...
...
@@ -128,15 +128,16 @@ class Module(object):
logging
.
debug
(
"Module
%
s (parent:
%
s) is NOT fetched."
,
url
,
self
.
parent
.
path
)
def
process_manifest
(
self
):
"""Process the content section of the manifest_dict"""
def
_process_manifest
(
self
):
"""Internal function called by parse_manifest.
Process the content section of the manifest_dict"""
logging
.
debug
(
"Process manifest at: "
+
os
.
path
.
dirname
(
self
.
path
))
self
.
_process_manifest_
universal
()
self
.
_process_manifest_
library
()
self
.
_process_manifest_files
()
self
.
_process_manifest_modules
()
self
.
_process_manifest_makefiles
()
def
_process_manifest_
universal
(
self
):
def
_process_manifest_
library
(
self
):
"""Method processing the universal manifest directives;
set library (inherited if not set)."""
# Libraries
...
...
@@ -358,7 +359,7 @@ PARSE START: %s
self
.
path
,
type
(
name_error
),
name_error
))
# Process the parsed manifest_dict to assign the module properties
self
.
process_manifest
()
self
.
_
process_manifest
()
# Recurse: parse every detected submodule
for
submod
in
self
.
submodules
():
...
...
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