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

Jerry Van Baren
2008-10-21T14:51:57Z

Peter Tyser wrote:
> Hi Wolfgang,

[big snip]

> I use git, but its version strings only change when commits occur. I
> think having an accurate build time stamp would be a nice feature.
> FWIW, Linux handles this "issue" very similarly to my proposed solution
> so that it can have its pretty banner. It even takes it a step further
> and gives a specific compile number (#15):
>
> Linux version 2.6.23.17 (ptyser at ptyser) (gcc version 4.3.1
> (crosstool-NG-xes) ) #15 SMP Wed Aug 6 11:45:55 CDT 2008
>
>
> I know this patch isn't a big deal, but I think it would be a valuable
> change. If others don't agree I'll drop the issue.
>
> Thanks,
> Peter

+1
Call me old fashioned, but I like time/date stamps. They are more
meaningful to me as a quick "did I really load a new u-boot" or "when
did I do *that*" than a git hash.

Cost: $0.00. Benefit: $0.02. Benefit/Cost = priceless.

FWIIW,
gvb