Re: [U-Boot] [PATCH v4] Update U-Boot's build timestamp on every compile

2008-11-03 Thread Peter Tyser
On Sat, 2008-11-01 at 03:26 -0700, Trent Piepho wrote: > On Fri, 31 Oct 2008, Peter Tyser wrote: > > +$(TIMESTAMP_FILE): > > + @( printf '#define U_BOOT_DATE "%s"\n' '$(shell date +"%b %d > > %C%y")' \ > > +) > $@ > > + @( printf '#define U_BOOT_TIME "%s"\n' '$(shel

Re: [U-Boot] [PATCH v4] Update U-Boot's build timestamp on every compile

2008-11-01 Thread Trent Piepho
On Fri, 31 Oct 2008, Peter Tyser wrote: > +$(TIMESTAMP_FILE): > + @( printf '#define U_BOOT_DATE "%s"\n' '$(shell date +"%b %d > %C%y")' \ > + ) > $@ > + @( printf '#define U_BOOT_TIME "%s"\n' '$(shell date +"%T")' \ > + ) >> $@ You could do this:

[U-Boot] [PATCH v4] Update U-Boot's build timestamp on every compile

2008-10-31 Thread Peter Tyser
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- Changes since v1: * Split up U_BOOT_DATE define (date and time) into U_BOOT_DATE (day, month, year) and U_BOOT_TIME (time of day) defines * Updated all archit