Files
OpenCellular/util
Bill Richardson 5d138b379d Make builds repeatable.
We have been using the time of compilation to determine the
version string. This CL will keep doing that if the git repo has
uncommitted changes, but if the repo is clean we'll just use the
author date of the last commit. This ensures that the same source
will produce bitwise-identical builds (assuming no toolchain
changes, of course).

BUG=chrome-os-partner:45616
BRANCH=none
TEST=manual

  cd src/platform/ec
  make buildall
  mv build build.one
  make buildall
  md5sum build{,.one}/*/ec.bin | sort

Observe that successive builds produce identical binaries.

Change-Id: Ie2ef44b216586097589c9c15f12e05c87a53f991
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/302140
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
2015-09-24 12:46:28 -07:00
..
2015-06-18 19:07:00 +00:00
2015-07-25 01:22:32 +00:00
2015-09-17 16:09:43 -07:00
2015-06-18 19:07:00 +00:00
2015-04-17 01:47:34 +00:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-09-18 16:34:18 -07:00
2015-07-25 01:22:32 +00:00
2012-11-01 14:09:34 -07:00
2015-09-24 12:46:28 -07:00
2015-07-16 05:15:34 +00:00
2014-02-17 17:35:43 +00:00
2015-06-18 19:07:00 +00:00
2014-01-15 04:52:54 +00:00
2015-04-24 05:07:45 +00:00