]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Replace random build ID with a deterministic one
authorManuel Mendez <mmendez534@gmail.com>
Thu, 28 Jan 2021 21:45:04 +0000 (16:45 -0500)
committerMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 18:21:59 +0000 (18:21 +0000)
commitd8dc06fbf9c8801c57d8a5423a76963679830207
treef1f98b3f5d3aeac2bb8fcbd0296a165b83bc0e29
parentbc4979e2cf375f7d9bf81ccf00bc2679f3dbabc2
[build] Replace random build ID with a deterministic one

Calculate the build ID as a checksum over the input files.  Since the
input files include $(BIN)/version.%.o which itself includes the build
target name (from which TGT_LD_FLAGS is calculated), this should be
sufficient to meet the requirement that the build ID be unique for
each $(BIN)/%.tmp even within the same build run.

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping