[U-Boot] [PATCH] Append board name to version identifier
Igor Grinberg
grinberg at compulab.co.il
Wed Dec 7 19:49:42 CET 2011
Hi Ed,
On 12/07/11 20:39, Wolfgang Denk wrote:
> Dear Ed Swarthout,
>
> In message <1323278284-19643-1-git-send-email-Ed.Swarthout at 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 at 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.
More information about the U-Boot
mailing list