Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emilio Corigliano
Skyward Boardcore
Commits
cf72d36a
Commit
cf72d36a
authored
Mar 24, 2019
by
Luca Erbetta
Browse files
Options
Downloads
Patches
Plain Diff
[SBS] Now correctly uses SRC_PATH
parent
b7a2513e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.template
+1
-1
1 addition, 1 deletion
Makefile.template
sbs
+4
-4
4 additions, 4 deletions
sbs
with
5 additions
and
5 deletions
Makefile.template
+
1
−
1
View file @
cf72d36a
...
...
@@ -31,7 +31,7 @@ LIBS := {SBS_PROJECT_LIBS}
## List here additional include directories (in the form -Iinclude_dir)
##
INCLUDE_DIRS
:=
-I
$(
SBS_BASE
)
/libs
-I
$(
SBS_BASE
)
/libs/miosix-kernel/miosix
\
-I
$(
SBS_BASE
)
/src/shared
-Isrc
/boards
{
SBS_PROJECT_INCLUDES
}
{
SBS_PROJECT_INCLUDES
}
##############################################################################
## You should not need to modify anything below ##
...
...
This diff is collapsed.
Click to expand it.
sbs
+
4
−
4
View file @
cf72d36a
...
...
@@ -176,18 +176,18 @@ def build_makefile(template, board, bname):
"
BIN_NAME
"
:
board
[
'
bin
'
]
}
rmap
[
"
PROJECT_INCLUDES
"
]
=
""
rmap
[
"
PROJECT_INCLUDES
"
]
=
"
-I
"
+
projconf
[
"
SRC_PATH
"
].
strip
()
+
"
"
rmap
[
"
PROJECT_LIBS
"
]
=
""
rmap
[
"
PROJECT_SUBDIRS
"
]
=
""
for
incl
in
incllist
:
rmap
[
"
PROJECT_INCLUDES
"
]
+=
incl
+
"
"
rmap
[
"
PROJECT_INCLUDES
"
]
+=
incl
.
strip
()
+
"
"
for
lib
in
liblist
:
rmap
[
"
PROJECT_LIBS
"
]
+=
lib
+
"
"
rmap
[
"
PROJECT_LIBS
"
]
+=
lib
.
strip
()
+
"
"
for
sd
in
subdirs
:
rmap
[
"
PROJECT_SUBDIRS
"
]
+=
sd
+
"
"
rmap
[
"
PROJECT_SUBDIRS
"
]
+=
sd
.
strip
()
+
"
"
for
i
in
rmap
:
template
=
template
.
replace
(
"
{SBS_%s}
"
%
i
,
rmap
[
i
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment