From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Aug 2015 17:04:06 -0400 Subject: [U-Boot] [U-Boot, v3] Makefile: fix SOURCE_DATE_EPOCH for *BSD host In-Reply-To: <1440750595-11616-1-git-send-email-andreas.devel@googlemail.com> References: <1440750595-11616-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <20150828210406.GJ25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 28, 2015 at 10:29:55AM +0200, Andreas Bie?mann wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: