tools/firmware: reproducible seabios build
authorOlaf Hering <olaf@aepfle.de>
Wed, 18 Jul 2018 11:02:38 +0000 (13:02 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 18 Jul 2018 16:32:19 +0000 (17:32 +0100)
commit773b86303ffe1a0181be3382d98680f58314f84d
treea540e15d5a044289cab73730cdd568e53b9c9353
parentb1afab7fb5d358eda2f44171604a5599e8333897
tools/firmware: reproducible seabios build

The build system of seabios always includes the current time and the
hostname into the resulting binary. To avoid that, it is required to
have a file '.version' in the toplevel directory of seabios-dir-remote.
And it is required to pass EXTRAVERSION= to make because its toplevel
Makefile does not take EXTRAVERSION from environment.

Adjust the code to create a '.version' file with fixed content.
Adjust the code to pass EXTRAVERSION down to make.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/firmware/Makefile