[LinuxBIOS] [PATCH] superiotool: Make --version actually work correctly

Robinson Tryon bishop.robinson at gmail.com
Sat Oct 6 18:32:56 CEST 2007


On 10/6/07, Ulf Jordan <jordan at chalmers.se> wrote:
> On Sat, 6 Oct 2007, Ulf Jordan wrote:
>
> > On Sat, 6 Oct 2007, Robinson Tryon wrote:
> >
> >> What about pulling the version directly out of SVN at build time?  Like this:
> >>
> >> svn info | sed -n 's/.*Revision: \([0-9]*\)/\1/ p'
> >>
> >> As long as the Makefile lives at the top level of the project, this
> >> value should always reflect the latest commit in the current checkout.
> >
> > That looks like a good solution.
>
> Attached is the much shorter patch using Robinson's suggestion to get
> the svn revision number as the superiotool version number.

Looks good.




More information about the coreboot mailing list