Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonnatan Mendoza Escobar
svhd_lib_modules_make
Commits
76a2b6dc
Commit
76a2b6dc
authored
May 02, 2022
by
Jonnatan Mendoza Escobar
Browse files
Organize paths
parent
7a8e7b04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
76a2b6dc
TEROSHDL_DOC
?=
/opt/colibri/bin/teroshdl-hdl-documenter
VTREE
?=
/bin/vtree
CURRENT_PATH
=
$(
shell
pwd
)
LIB_ROOT_PATH
?=
$(CURRENT_PATH)
/../../
LOCAL_SRC_FOLDER
=
$(
shell
pwd
)
/src
DOC_FOLDER
=
$(
shell
pwd
)
/doc
MODULES_LIST
?=
$(
shell
$(VTREE)
get_modules
$(LOCAL_SRC_FOLDER)
)
define
mtree_func
$(VTREE)
mtree
$(LIB_ROOT_PATH)
$(1)
-v
1;
endef
...
...
@@ -23,6 +15,7 @@ docs:
mtree
:
@
(
$(
call
print_src,
"LIB_PATH: "
$(LIB_ROOT_PATH)
)
)
@
(
$(
call
print_src,
"LIB_PATH: "
$(VTREE)
)
)
@
(
$(
foreach
TOP_MODULE,
$(MODULES_LIST)
,
$(
call
mtree_func,
$(TOP_MODULE)
))
)
minsts
:
...
...
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