Re: [U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Marek Vasut
On Thursday, August 27, 2015 at 11:01:19 AM, Andreas Bießmann wrote: > Hi Marek, Hi! > On 08/27/2015 10:28 AM, Marek Vasut wrote: > > On Thursday, August 27, 2015 at 10:13:49 AM, Andreas Bießmann wrote: > >> The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU > >> variant of

Re: [U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Andreas Bießmann
Hi Marek, On 08/27/2015 10:28 AM, Marek Vasut wrote: > On Thursday, August 27, 2015 at 10:13:49 AM, Andreas Bießmann wrote: >> The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU >> variant of date. > > Why does it require the GNU date ? Cause of the -d switch. It is used in

Re: [U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Andreas Bießmann
On 08/27/2015 10:32 AM, Paul Kocialkowski wrote: > Le jeudi 27 août 2015 à 10:13 +0200, Andreas Bießmann a écrit : >> The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU >> variant of date. Respect this and search it, error on missing GNU date. > > Well, IMHO we shouldn't chec

Re: [U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Marek Vasut
On Thursday, August 27, 2015 at 10:13:49 AM, Andreas Bießmann wrote: > The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU > variant of date. Why does it require the GNU date ? > Respect this and search it, error on missing GNU date. Wouldn't it make more sense to fix the co

[U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Andreas Bießmann
The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU variant of date. Respect this and search it, error on missing GNU date. Signed-off-by: Andreas Bießmann --- This commit tries to figure out if we have a GNU date variant available. It errors on missing GNU date when it is re

Re: [U-Boot] [RFC PATCH] Makefile: search for GNU date

2015-08-27 Thread Paul Kocialkowski
Le jeudi 27 août 2015 à 10:13 +0200, Andreas Bießmann a écrit : > The SOURCE_DATE_EPOCH mechanism for reproducible builds requires the GNU > variant of date. Respect this and search it, error on missing GNU date. Well, IMHO we shouldn't check for GNU date but for the extensions it implements. Thos