From 633886719e2853744d932bd15324dd21634b0bbb Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 11 Jun 2015 14:24:39 +0200 Subject: [PATCH] SeaBIOS: fix reproducible build by defining our own version string SeaBIOS uses a version string which is derived from hostname. Defining our own version strings drops this dependency. This only works in versions newer than rel-1.8.0-36-g624e812. Change-Id: Ie800deffd3706d1b2dabf5258e2e48bfcd2929b7 Signed-off-by: Alexander Couzens Reviewed-on: http://review.coreboot.org/10515 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- payloads/external/SeaBIOS/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc index 4d2367ee10..087b723840 100644 --- a/payloads/external/SeaBIOS/Makefile.inc +++ b/payloads/external/SeaBIOS/Makefile.inc @@ -47,6 +47,9 @@ endif build: config echo " MAKE SeaBIOS $(TAG-y)" + export VERSION=$$(cd seabios && \ + git describe --tags --long --dirty 2>/dev/null || \ + echo "unknown") ; \ $(MAKE) -C seabios OUT=out/ clean: