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
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:
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
3 matches
Mail list logo