summaryrefslogtreecommitdiffstats
path: root/lib_mips
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2008-11-03 09:30:59 -0600
committerWolfgang Denk <wd@denx.de>2008-12-06 23:36:43 +0100
commit561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9 (patch)
tree592e0f4f06597a923de9c0ae3afa762ca517ee04 /lib_mips
parent1450c4a6682378567030414a9f1198c39b7730c7 (diff)
downloadblackbird-obmc-uboot-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.tar.gz
blackbird-obmc-uboot-561858ee7d0274c3e89dc98d4d0698cb6fcf6fd9.zip
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_mips')
-rw-r--r--lib_mips/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_mips/board.c b/lib_mips/board.c
index 77e1cc8e3c..9c997f1908 100644
--- a/lib_mips/board.c
+++ b/lib_mips/board.c
@@ -25,6 +25,7 @@
#include <command.h>
#include <malloc.h>
#include <devices.h>
+#include <timestamp.h>
#include <version.h>
#include <net.h>
#include <environment.h>
@@ -53,7 +54,7 @@ extern ulong uboot_end;
ulong monitor_flash_len;
const char version_string[] =
- U_BOOT_VERSION" (" __DATE__ " - " __TIME__ ")";
+ U_BOOT_VERSION" (" U_BOOT_DATE " - " U_BOOT_TIME ")";
static char *failed = "*** failed ***\n";
OpenPOWER on IntegriCloud