diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2008-11-03 09:30:59 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-06 23:36:43 +0100 |
commit | 561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9 (patch) | |
tree | 592e0f4f06597a923de9c0ae3afa762ca517ee04 /lib_microblaze | |
parent | 1450c4a6682378567030414a9f1198c39b7730c7 (diff) | |
download | u-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.zip u-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.gz u-boot-imx-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.bz2 |
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 'lib_microblaze')
-rw-r--r-- | lib_microblaze/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_microblaze/board.c b/lib_microblaze/board.c index cd61918..250972c 100644 --- a/lib_microblaze/board.c +++ b/lib_microblaze/board.c @@ -27,12 +27,13 @@ #include <common.h> #include <command.h> #include <malloc.h> +#include <timestamp.h> #include <version.h> #include <watchdog.h> DECLARE_GLOBAL_DATA_PTR; -const char version_string[] = U_BOOT_VERSION " (" __DATE__ " - " __TIME__ ")"; +const char version_string[] = U_BOOT_VERSION " ("U_BOOT_DATE" - "U_BOOT_TIME")"; #ifdef CONFIG_SYS_GPIO_0 extern int gpio_init (void); |