From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition
Date: Thu, 23 Aug 2012 16:49:16 +0200 [thread overview]
Message-ID: <503642EC.4030407@denx.de> (raw)
In-Reply-To: <1345733053-5023-1-git-send-email-matt@genesi-usa.com>
On 23/08/2012 16:44, Matt Sealey wrote:
> This gives us a string like "20120822150855" which encodes the build time.
>
> This allows automated version checking and flashing of U-Boot to be performed,
> for example, in boot.scr files (or scripting in general).
>
> Signed-off-by: Matt Sealey <matt@genesi-usa.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> ---
Hi Matt,
> Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index 1df4c1d..c042206 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -664,6 +664,7 @@ $(TIMESTAMP_FILE):
> @mkdir -p $(dir $(TIMESTAMP_FILE))
> @LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"' > $@.tmp
> @LC_ALL=C date +'#define U_BOOT_TIME "%T"' >> $@.tmp
> + @LC_ALL=C date +'#define U_BOOT_TIMESTAMP "%Y%m%d%H%M%S"' >> $@.tmp
> @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
>
This is not related to iMX only. I set CC to Wolfgang.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2012-08-23 14:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 14:44 [U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition Matt Sealey
2012-08-23 14:49 ` Stefano Babic [this message]
2012-08-23 15:01 ` Matt Sealey
2013-03-09 7:09 ` Wolfgang Denk
2013-04-05 16:27 ` Matt Sealey
2013-04-05 16:34 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503642EC.4030407@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox