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

Kim Phillips kim.phillips at freescale.com
Tue Oct 21 02:59:34 CEST 2008


On Fri, 17 Oct 2008 17:51:21 -0500
Peter Tyser <ptyser at xes-inc.com> wrote:

> Use the GNU 'date' command to auto-generate a new U-Boot
> timestamp on every compile.
> 
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> I noticed that the build time of U-Boot was not updated on every
> compile which occassionally threw me for a loop as to whether
> a new U-Boot binary was programmed, etc.  This patch updates
> a U_BOOT_DATE define on every compile which can then be used
> in place of the multiple "__DATE__ - __TIME__" preprocessor
> macros that are currently used.

this text probably belongs in the commit message above your SOB.  But I
still don't understand why __TIME__ didn't work for you..can you
elaborate?

Kim


More information about the U-Boot mailing list