From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Append board name to version identifier
Date: Wed, 07 Dec 2011 20:49:42 +0200 [thread overview]
Message-ID: <4EDFB546.2080209@compulab.co.il> (raw)
In-Reply-To: <20111207183906.960181F92A3@gemini.denx.de>
Hi Ed,
On 12/07/11 20:39, Wolfgang Denk wrote:
> Dear Ed Swarthout,
>
> In message <1323278284-19643-1-git-send-email-Ed.Swarthout@freescale.com> you wrote:
>> so it is printed as part of the version command and visible when
>> displaying the image in the various flash banks.
>>
>> This allows "strings u-boot.bin | head -1" to identify target:
>>
>> VU-Boot 2011.09-01427-g6ee5cf2 (Dec 07 2011 - 11:11:55) P4080DS
>>
>> Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
>> ---
>> include/version.h | 2 +-
>> mkconfig | 1 +
>> 2 files changed, 2 insertions(+), 1 deletions(-)
>
> I don't think this is a good idea, especially as it afects the user
> interface for all boards.
>
> Please feel free to define local settings for boards that are
> maintained by you (oops... there aren't any...), but I don't want to
> change this globally.
Instead, you can create the localversion-<something> file and the build
system will take care of the rest, for example:
------------cut----------
~/git-repo/u-boot $ cat localversion-cm-t3730
-cm-t3730-1
------------cut----------
and it gives me:
U-Boot 2011.09-cm-t3730-1 (Oct 11 2011 - 11:52:34)
--
Regards,
Igor.
next prev parent reply other threads:[~2011-12-07 18:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 17:18 [U-Boot] [PATCH] Append board name to version identifier Ed Swarthout
2011-12-07 18:39 ` Wolfgang Denk
2011-12-07 18:49 ` Igor Grinberg [this message]
2011-12-08 0:30 ` Mike Frysinger
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=4EDFB546.2080209@compulab.co.il \
--to=grinberg@compulab.co.il \
--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