[build] Avoid using sha1sum when calculating build ID

The sha1sum command may not be available on all systems.  Use the
POSIX-confirming cksum instead.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/242/head
Michael Brown 2021-01-31 00:30:10 +00:00
parent 82dbca4938
commit 3a2411b43f
1 changed files with 1 additions and 1 deletions

View File

@ -1176,7 +1176,7 @@ blib : $(BLIB)
# different builds (such as builds for multiple ROMs all built from
# the same blib.a).
#
BUILD_ID_CMD = sha1sum $^ | sort | cksum | awk '{printf "0x%08x", $$1}'
BUILD_ID_CMD = cat $^ | cksum | awk '{printf "0x%08x", $$1}'
# Build timestamp
#