diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2008-11-03 15:30:59 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-06 22:36:43 (GMT) |
commit | 561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9 (patch) | |
tree | 592e0f4f06597a923de9c0ae3afa762ca517ee04 /cpu/leon2 | |
parent | 1450c4a6682378567030414a9f1198c39b7730c7 (diff) | |
download | u-boot-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.xz |
Update U-Boot's build timestamp on every compile
Use the GNU 'date' command to auto-generate a new U-Boot
timestamp on every compile.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'cpu/leon2')
-rw-r--r-- | cpu/leon2/start.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/leon2/start.S b/cpu/leon2/start.S index 9b5d83e..b1f1eb5 100644 --- a/cpu/leon2/start.S +++ b/cpu/leon2/start.S @@ -27,6 +27,7 @@ #include <asm/psr.h> #include <asm/stack.h> #include <asm/leon.h> +#include <timestamp.h> #include <version.h> /* Entry for traps which jump to a programmer-specified trap handler. */ @@ -199,7 +200,7 @@ _trap_table: .globl version_string version_string: .ascii U_BOOT_VERSION - .ascii " (", __DATE__, " - ", __TIME__, ")" + .ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" .ascii CONFIG_IDENT_STRING, "\0" .section ".text" |