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
846f2367
Commit
846f2367
authored
9 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #513 from pgeorgi/configurable-timestamp
build system: allow overriding the build's timestamp
parents
85320724
2f5d4a48
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
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
make_helpers/build_macros.mk
+5
-1
make_helpers/build_macros.mk
with
5 additions
and
1 deletion
+5
-1
make_helpers/build_macros.mk
View file @
846f2367
...
...
@@ -290,6 +290,10 @@ define MAKE_TOOL_ARGS
$(if
$(3),$(eval
$(call
FIP_ADD_PAYLOAD,$(2),--$(3),bl$(1))))
endef
# Allow overriding the timestamp, for example for reproducible builds, or to
# synchronize timestamps across multiple projects.
# This must be set to a C string (including quotes where applicable).
BUILD_MESSAGE_TIMESTAMP
?=
__TIME__
", "
__DATE__
# MAKE_BL macro defines the targets and options to build each BL image.
# Arguments:
...
...
@@ -315,7 +319,7 @@ $(BUILD_DIR):
$(ELF)
:
$(OBJS) $(LINKERFILE)
@
echo
" LD
$$
@"
@
echo
'const char build_message[] = "Built : "
__TIME__", "__DATE__
; \
@
echo
'const char build_message[] = "Built : "
$(BUILD_MESSAGE_TIMESTAMP)
; \
const char version_string[] = "
${VERSION_STRING}
";'
|
\
$
$(CC)
$
$(CFLAGS)
-xc
-
-o
$(BUILD_DIR)
/build_message.o
$
$(Q)
$
$(LD)
-o
$$
@
$
$(LDFLAGS)
-Map
=
$(MAPFILE)
--script
$(LINKERFILE)
\
...
...
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