From 3a2411b43f840f11f667a22d061d01826f75f818 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 31 Jan 2021 00:30:10 +0000 Subject: [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 --- src/Makefile.housekeeping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 25abe57..e913070 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -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 # -- cgit v1.1