diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-08-28 10:29:55 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-28 12:33:19 -0400 |
commit | 2d9efa1227262249d381ed5d9d341cbdba76e62d (patch) | |
tree | 14517434daab739b28e47fca4ca3b9671d525d9c /drivers/watchdog | |
parent | 9316412f46fbdeec81a3f5a40bae383a405b9a4a (diff) | |
download | blackbird-obmc-uboot-2d9efa1227262249d381ed5d9d341cbdba76e62d.tar.gz blackbird-obmc-uboot-2d9efa1227262249d381ed5d9d341cbdba76e62d.zip |
Makefile: fix SOURCE_DATE_EPOCH for *BSD host
The SOURCE_DATE_EPOCH mechanism for reproducible builds require some date(1)
with -d switch to print the relevant date and time strings of another point of
time.
In other words it requires some date(1) that behaves like the GNU date(1) [1].
The BSD date(1) [2] on the other hand has the same switch but with a different
meaning.
Respect this and check the date(1) abilities before usage, error on non
working version. Use the well known pre- and suffixes for the GNU variant of
a tool on *BSD hosts to search for a working date(1) version.
[1] http://man7.org/linux/man-pages/man1/date.1.html [2]
http://www.freebsd.org/cgi/man.cgi?query=date
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions