Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13726
-gerrit
commit 91651df7fec26a4cafdfa1ee5edc6cd958c96ffa Author: Patrick Georgi pgeorgi@chromium.org Date: Thu Jan 28 15:25:49 2016 +0100
arch/arm64: Compile arm-trusted-firmware with coreboot timestamp
Update ATF codebase to a version that supports passing a timestamp and fix the format to what it accepts now (including quotes).
This provides reproducible builds.
Change-Id: I12a0a2ba1ee7921ad93a3a877ea50309136ab1ab Signed-off-by: Patrick Georgi pgeorgi@chromium.org --- 3rdparty/arm-trusted-firmware | 2 +- src/arch/arm64/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/3rdparty/arm-trusted-firmware b/3rdparty/arm-trusted-firmware index 649591b..4a96630 160000 --- a/3rdparty/arm-trusted-firmware +++ b/3rdparty/arm-trusted-firmware @@ -1 +1 @@ -Subproject commit 649591bbabbc737534943136751722307429b7d6 +Subproject commit 4a9663062cef254e79189e4fbde85172eb58f9ce diff --git a/src/arch/arm64/Makefile.inc b/src/arch/arm64/Makefile.inc index ec559fa..f44ee51 100644 --- a/src/arch/arm64/Makefile.inc +++ b/src/arch/arm64/Makefile.inc @@ -159,7 +159,7 @@ BL31_MAKEARGS += BUILD_PLAT="$(abspath $(obj)/3rdparty/arm-trusted-firmware)" # The # " complications exist to satisfy both gnu make's parser and editors # with non-semantic quote-handling (that would assume that this line starts a # multi line string. -BL31_MAKEARGS += BUILD_MESSAGE_TIMESTAMP="$(shell grep "#define COREBOOT_BUILD>" $(obj)/build.h |cut -d" -f2 # ")" +BL31_MAKEARGS += BUILD_MESSAGE_TIMESTAMP='"$(shell grep "#define COREBOOT_BUILD>" $(obj)/build.h |cut -d" -f2 # ")"'
BL31_CFLAGS := -fno-pic -fno-stack-protector BL31_LDFLAGS := --emit-relocs