Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
a64939e4
Commit
a64939e4
authored
9 years ago
by
Achin Gupta
Browse files
Options
Download
Plain Diff
Merge pull request #430 from jcastillo-arm/jc/tf-issues/333
Fix build error when `BL32` is not defined
parents
c36d2144
70d1fc53
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
v1.3
v1.3_rc2
v1.3_rc1
v1.3-rc0
v1.2
v1.2-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+14
-5
Makefile
make_helpers/tbbr/tbbr_tools.mk
+1
-1
make_helpers/tbbr/tbbr_tools.mk
with
15 additions
and
6 deletions
+15
-6
Makefile
View file @
a64939e4
...
...
@@ -241,10 +241,15 @@ ifneq (${SPD},none)
$(info
Including
${SPD_MAKE})
include
${SPD_MAKE}
# If there's BL3-2 companion for the chosen SPD, and the SPD wants to build the
# BL3-2 from source, we expect that the SPD's Makefile would set NEED_BL32
# variable to "yes". In case the BL3-2 is a binary which needs to be included in
# fip, then the NEED_BL32 needs to be set and BL3-2 would need to point to the bin.
# If there's BL32 companion for the chosen SPD, we expect that the SPD's
# Makefile would set NEED_BL32 to "yes". In this case, the build system
# supports two mutually exclusive options:
# * BL32 is built from source: then BL32_SOURCES must contain the list
# of source files to build BL32
# * BL32 is a prebuilt binary: then BL32 must point to the image file
# that will be included in the FIP
# If both BL32_SOURCES and BL32 are defined, the binary takes precedence
# over the sources.
endif
...
...
@@ -415,9 +420,13 @@ $(if ${BL31}, $(eval $(call MAKE_TOOL_ARGS,31,${BL31},in_fip)),\
$(eval
$(call
MAKE_BL,31,in_fip)))
endif
# If a BL32 image is needed but neither BL32 nor BL32_SOURCES is defined, the
# build system will call FIP_ADD_IMG to print a warning message and abort the
# process. Note that the dependency on BL32 applies to the FIP only.
ifeq
(${NEED_BL32},yes)
$(if
${BL32},
$(eval
$(call
MAKE_TOOL_ARGS,32,${BL32},in_fip)),\
$(eval
$(call
MAKE_BL,32,in_fip)))
$(if
${BL32_SOURCES},
$(eval
$(call
MAKE_BL,32,in_fip)),\
$(eval
$(call
FIP_ADD_IMG,BL32,--bl32))))
endif
# Add the BL33 image if required by the platform
...
...
This diff is collapsed.
Click to expand it.
make_helpers/tbbr/tbbr_tools.mk
View file @
a64939e4
...
...
@@ -97,7 +97,7 @@ $(eval $(call FIP_ADD_PAYLOAD,${BUILD_PLAT}/bl31_key.crt,--bl31-key-cert))
# Add the BL32 CoT (key cert + img cert + image)
ifeq
(${NEED_BL32},yes)
$(if
${BL32},$(eval
$(call
CERT_ADD_CMD_OPT,${BL32},--bl32,true)),\
$(eval
$(call
CERT_ADD_CMD_OPT,$(call
IMG_BIN,32),--bl32,true)))
$(if
${BL32_SOURCES},
$(eval
$(call
CERT_ADD_CMD_OPT,$(call
IMG_BIN,32),--bl32,true)))
)
$(if
${BL32_KEY},$(eval
$(call
CERT_ADD_CMD_OPT,${BL32_KEY},--bl32-key)))
$(eval
$(call
CERT_ADD_CMD_OPT,${BUILD_PLAT}/bl32.crt,--bl32-cert))
$(eval
$(call
CERT_ADD_CMD_OPT,${BUILD_PLAT}/bl32_key.crt,--bl32-key-cert))
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help