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
e282b9d9
Unverified
Commit
e282b9d9
authored
Jan 30, 2018
by
davidcunado-arm
Committed by
GitHub
Jan 30, 2018
Browse files
Merge pull request #1220 from jwerner-chromium/JW_ld_bfd
Makefile: Use ld.bfd linker if available
parents
e58f4d8e
b25a577f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e282b9d9
...
...
@@ -127,6 +127,12 @@ NM := ${CROSS_COMPILE}nm
PP
:=
${CROSS_COMPILE}
gcc
-E
DTC
?=
dtc
# Use ${LD}.bfd instead if it exists (as absolute path or together with $PATH).
ifneq
($(strip $(wildcard ${LD}.bfd) \
$(foreach dir,$(subst
:
,
,
${PATH})
,
$(wildcard ${dir}/${LD}.bfd)))
,
)
LD
:=
${LD}
.bfd
endif
ifeq
(${ARM_ARCH_MAJOR},7)
target32-directive
=
-target
arm-none-eabi
# Will set march32-directive from platform configuration
...
...
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