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
4c59dd6f
Commit
4c59dd6f
authored
10 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #231 from jcastillo-arm/jc/fip_bin
Specify FIP filename at build time
parents
6cef4e46
7f48fab9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+4
-2
Makefile
docs/user-guide.md
+3
-0
docs/user-guide.md
with
7 additions
and
2 deletions
+7
-2
Makefile
View file @
4c59dd6f
...
@@ -63,6 +63,8 @@ ARM_GIC_ARCH := 2
...
@@ -63,6 +63,8 @@ ARM_GIC_ARCH := 2
# Flag used to indicate if ASM_ASSERTION should be enabled for the build.
# Flag used to indicate if ASM_ASSERTION should be enabled for the build.
# This defaults to being present in DEBUG builds only.
# This defaults to being present in DEBUG builds only.
ASM_ASSERTION
:=
${DEBUG}
ASM_ASSERTION
:=
${DEBUG}
# Default FIP file name
FIP_NAME
:=
fip.bin
# Checkpatch ignores
# Checkpatch ignores
CHECK_IGNORE
=
--ignore
COMPLEX_MACRO
CHECK_IGNORE
=
--ignore
COMPLEX_MACRO
...
@@ -256,7 +258,7 @@ PP := ${CROSS_COMPILE}gcc -E ${CFLAGS}
...
@@ -256,7 +258,7 @@ PP := ${CROSS_COMPILE}gcc -E ${CFLAGS}
FIPTOOLPATH
?=
tools/fip_create
FIPTOOLPATH
?=
tools/fip_create
FIPTOOL
?=
${FIPTOOLPATH}
/fip_create
FIPTOOL
?=
${FIPTOOLPATH}
/fip_create
fiptool
:
${FIPTOOL}
fiptool
:
${FIPTOOL}
fip
:
${BUILD_PLAT}/
fip.bin
fip
:
${BUILD_PLAT}/
${FIP_NAME}
locate-checkpatch
:
locate-checkpatch
:
ifndef
CHECKPATCH
ifndef
CHECKPATCH
...
@@ -485,7 +487,7 @@ check_bl33:
...
@@ -485,7 +487,7 @@ check_bl33:
endif
endif
${BUILD_PLAT}/
fip.bin
:
${FIP_DEPS} ${FIPTOOL} check_bl30 check_bl33
${BUILD_PLAT}/
${FIP_NAME}
:
${FIP_DEPS} ${FIPTOOL} check_bl30 check_bl33
${Q}${FIPTOOL}
--dump
\
${Q}${FIPTOOL}
--dump
\
${FIP_ARGS}
\
${FIP_ARGS}
\
$@
$@
...
...
This diff is collapsed.
Click to expand it.
docs/user-guide.md
View file @
4c59dd6f
...
@@ -176,6 +176,9 @@ performed.
...
@@ -176,6 +176,9 @@ performed.
BL3-2 image for the
`fip`
target. In this case, the BL3-2 in the ARM
BL3-2 image for the
`fip`
target. In this case, the BL3-2 in the ARM
Trusted Firmware will not be built.
Trusted Firmware will not be built.
*
`FIP_NAME`
: This is an optional build option which specifies the FIP
filename for the
`fip`
target. Default is
`fip.bin`
.
*
`CROSS_COMPILE`
: Prefix to toolchain binaries. Please refer to examples in
*
`CROSS_COMPILE`
: Prefix to toolchain binaries. Please refer to examples in
this document for usage.
this document for usage.
...
...
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