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

Wolfgang Denk wd at denx.de
Sat Dec 6 23:37:06 CET 2008


Dear Peter Tyser,

In message <1225726259-9694-1-git-send-email-ptyser at xes-inc.com> you 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>
> ---
> 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 architetures/boards
> 
> Changes since v2:
> * Placed U_BOOT_DATE and U_BOOT_TIME defines in
>   timestamp_autogenerated.h.
> * Added include/timestamp.h
> 
> Changes since v3:
> * rebased on TOT
> * removed 2 whitespace violations
> 
> Changes since v4:
> * Simplified timestamp_autogenerated.h creation
> * Made timestamp.h and version.h dependent on VIDEO_INFO for
>   cpu/mpc8xx/video.c
> 
>  Makefile                            |   17 +++++++++++------
>  board/bmw/bmw.c                     |    4 ++--
>  board/eXalion/eXalion.c             |    3 ++-
>  board/lwmon/lwmon.c                 |    3 ++-
>  board/mousse/mousse.c               |    3 ++-
>  board/netstar/eeprom.c              |    3 ++-
>  board/sandburst/karef/karef.c       |    6 ++++--
>  board/sandburst/metrobox/metrobox.c |    6 ++++--
>  board/tqc/tqm8xx/tqm8xx.c           |    3 ++-
>  board/trab/trab_fkt.c               |    3 ++-
>  board/voiceblue/eeprom.c            |    3 ++-
>  cpu/74xx_7xx/start.S                |    3 ++-
>  cpu/leon2/start.S                   |    3 ++-
>  cpu/leon3/start.S                   |    3 ++-
>  cpu/mcf5227x/start.S                |    3 ++-
>  cpu/mcf523x/start.S                 |    3 ++-
>  cpu/mcf52x2/start.S                 |    3 ++-
>  cpu/mcf532x/start.S                 |    3 ++-
>  cpu/mcf5445x/start.S                |    3 ++-
>  cpu/mcf547x_8x/start.S              |    3 ++-
>  cpu/mpc512x/start.S                 |    3 ++-
>  cpu/mpc5xx/start.S                  |    3 ++-
>  cpu/mpc5xxx/start.S                 |    3 ++-
>  cpu/mpc8220/start.S                 |    3 ++-
>  cpu/mpc824x/start.S                 |    3 ++-
>  cpu/mpc8260/start.S                 |    3 ++-
>  cpu/mpc83xx/start.S                 |    3 ++-
>  cpu/mpc85xx/start.S                 |    3 ++-
>  cpu/mpc86xx/start.S                 |    3 ++-
>  cpu/mpc8xx/start.S                  |    3 ++-
>  cpu/mpc8xx/video.c                  |    6 +++++-
>  cpu/nios/start.S                    |    3 ++-
>  cpu/nios2/start.S                   |    3 ++-
>  cpu/ppc4xx/start.S                  |    3 ++-
>  include/.gitignore                  |    1 +
>  include/configs/NETPHONE.h          |    2 +-
>  include/configs/NETTA.h             |    2 +-
>  include/configs/NETTA2.h            |    2 +-
>  include/timestamp.h                 |   30 ++++++++++++++++++++++++++++++
>  lib_arm/board.c                     |    3 ++-
>  lib_avr32/board.c                   |    3 ++-
>  lib_blackfin/board.c                |    3 ++-
>  lib_i386/board.c                    |    3 ++-
>  lib_microblaze/board.c              |    3 ++-
>  lib_mips/board.c                    |    3 ++-
>  lib_sh/board.c                      |    3 ++-
>  net/net.c                           |    3 +++
>  47 files changed, 135 insertions(+), 52 deletions(-)
>  create mode 100644 include/timestamp.h

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There is nothing  so  deadly  as  not  to  hold  up  to  people  the
opportunity to do great and wonderful things, if we wish to stimulate
them in an active way."
- Dr. Harold Urey, Nobel Laureate in chemistry


More information about the U-Boot mailing list