From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 07 Dec 2011 20:49:42 +0200 Subject: [U-Boot] [PATCH] Append board name to version identifier In-Reply-To: <20111207183906.960181F92A3@gemini.denx.de> References: <1323278284-19643-1-git-send-email-Ed.Swarthout@freescale.com> <20111207183906.960181F92A3@gemini.denx.de> Message-ID: <4EDFB546.2080209@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 >> --- >> 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- 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.