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>
This commit is contained in:
committed by
Wolfgang Denk
parent
1450c4a668
commit
561858ee7d
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <mpc8260.h>
|
||||
#include <timestamp.h>
|
||||
#include <version.h>
|
||||
|
||||
#define CONFIG_8260 1 /* needed for Linux kernel header files */
|
||||
@@ -85,7 +86,7 @@
|
||||
.globl version_string
|
||||
version_string:
|
||||
.ascii U_BOOT_VERSION
|
||||
.ascii " (", __DATE__, " - ", __TIME__, ")"
|
||||
.ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")"
|
||||
.ascii CONFIG_IDENT_STRING, "\0"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user