From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 21 Oct 2008 10:51:57 -0400 Subject: [U-Boot] [PATCH][RFC] Update U-Boot's build timestamp on every compile In-Reply-To: <1224600029.18428.339.camel@localhost.localdomain> References: <1224283881-24626-1-git-send-email-ptyser@xes-inc.com> <20081020195934.562c110c.kim.phillips@freescale.com> <1224554522.11401.28.camel@ptyser-laptop> <20081021070439.612E9832E40A@gemini.denx.de> <1224600029.18428.339.camel@localhost.localdomain> Message-ID: <48FDEC8D.6010502@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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