Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
orchestrator
Commits
fe9293cd
Commit
fe9293cd
authored
Sep 04, 2017
by
Damien George
Browse files
For MicroPython, update upython dirs and use custom build function.
parent
d9be852a
Changes
1
Hide whitespace changes
Inline
Side-by-side
orchestrator/taste-orchestrator.py
View file @
fe9293cd
...
...
@@ -601,8 +601,8 @@ def BuildMicroPythonSystems(micropythonSubsystems, CDirectories, cflagsSoFar):
g_stageLog
.
info
(
"Building MicroPython subSystems"
)
for
baseDir
in
micropythonSubsystems
.
keys
():
mpyTemplDir
=
"/home/taste/tool-src/
m
py-templates"
mpySource
=
"/home/taste/tool-src/u
P
ython-mirror"
mpyTemplDir
=
"/home/taste/tool-src/
u
py
thon
-templates"
mpySource
=
"/home/taste/tool-src/u
p
ython-mirror"
os
.
chdir
(
baseDir
+
os
.
sep
+
baseDir
)
if
(
baseDir
in
g_distributionNodesPlatform
.
keys
()):
...
...
@@ -647,7 +647,9 @@ def BuildMicroPythonSystems(micropythonSubsystems, CDirectories, cflagsSoFar):
os
.
chdir
(
"../.."
)
CommonBuildingPart
(
baseDir
,
"MicroPython"
,
CDirectories
,
cflagsSoFar
+
" -std=c99"
)
CommonBuildingPart
(
baseDir
,
"MicroPython"
,
CDirectories
,
cflagsSoFar
+
" -std=c99 -Wno-switch -Wno-override-init -Wno-jump-misses-init"
,
buildCmd
=
lambda
baseDir
,
cf
:
mysystem
(
"
\"
$GNATGCC
\"
-c %s -Wno-switch-enum -I ../../GlueAndBuild/glue%s/ -I ../../auto-src/ *.c"
%
(
cf
,
baseDir
)))
def
BuildCsystems
(
cSubsystems
,
CDirectories
,
cflagsSoFar
):
...
...
Write
Preview
Supports
Markdown
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