diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-06-11 14:24:39 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-06-23 09:42:07 +0200 |
commit | 633886719e2853744d932bd15324dd21634b0bbb (patch) | |
tree | 44abbbe36b4905ebed2ce54228b2e0c9081618f6 /payloads/external | |
parent | 920f2e63e574c57a8039db0a8f5ea76a2ff66391 (diff) | |
download | coreboot-633886719e2853744d932bd15324dd21634b0bbb.tar.xz |
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 <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/10515
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/SeaBIOS/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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: |