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
adam.huang
Arm Trusted Firmware
Commits
08fd68a2
Unverified
Commit
08fd68a2
authored
Dec 18, 2018
by
Antonio Niño Díaz
Committed by
GitHub
Dec 18, 2018
Browse files
Merge pull request #1718 from vwadekar/cc-variable-findstring
build: find "armclang" string in the 'CC' variable
parents
f5cf2aa5
fd18a8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
08fd68a2
...
@@ -154,7 +154,7 @@ target32-directive = -target armv8a-none-eabi
...
@@ -154,7 +154,7 @@ target32-directive = -target armv8a-none-eabi
march32-directive
=
-march
=
armv8-a
march32-directive
=
-march
=
armv8-a
endif
endif
ifeq
($(notdir $(CC)),
armclang
)
if
n
eq
($(
findstring armclang,$(
notdir $(CC))
)
,)
TF_CFLAGS_aarch32
=
-target
arm-arm-none-eabi
$
(
march32-directive
)
TF_CFLAGS_aarch32
=
-target
arm-arm-none-eabi
$
(
march32-directive
)
TF_CFLAGS_aarch64
=
-target
aarch64-arm-none-eabi
-march
=
armv8-a
TF_CFLAGS_aarch64
=
-target
aarch64-arm-none-eabi
-march
=
armv8-a
LD
=
$(LINKER)
LD
=
$(LINKER)
...
...
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