Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
orchestrator
Commits
585affaf
Commit
585affaf
authored
May 05, 2017
by
Thanassis Tsiodras
Browse files
The .gpr files generated for the CrazyFlie don't allow the -mfloat-abi parameter to be passed.
parent
e7d08a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
orchestrator/taste-orchestrator.py
View file @
585affaf
...
...
@@ -270,8 +270,8 @@ def mflags(node):
result
+=
" -m64 "
if
kind
.
startswith
(
"PLATFORM_LEON_RTEMS"
):
result
+=
" -msoft-float "
#
if kind.startswith("PLATFORM_ARM_CORTEX"):
#
result += " -mfloat-abi=hard "
if
kind
.
startswith
(
"PLATFORM_ARM_CORTEX"
):
result
+=
" -mfloat-abi=hard "
return
result
...
...
@@ -1154,6 +1154,9 @@ def InvokeOcarinaMakefiles(
return
cmd
+
" "
userCFlags
=
keepOnlyFirstCompilationOption
(
userCFlags
)
userLDFlags
=
keepOnlyFirstCompilationOption
(
userLDFlags
)
if
"ARM_CORTEX"
in
platformType
:
userCFlags
=
userCFlags
.
replace
(
" -mfloat-abi=hard "
,
""
)
# Not supported by AdaCore's CertyFlie...
userLDFlags
=
userLDFlags
.
replace
(
" -mfloat-abi=hard "
,
""
)
# Not supported by AdaCore's CertyFlie...
customFlags
=
(
' USER_CFLAGS="${USER_CFLAGS}%s" USER_LDFLAGS="${USER_LDFLAGS}%s"'
%
(
userCFlags
,
userLDFlags
))
mysystem
((
cmd
%
customFlags
)
+
extra
+
externals
+
"
\"
make"
)
return
AdaIncludePath
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment