Sometimes when we debug the code, we need to know which version we are

working on.
Add the svn revision to the coreboot version string.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4191 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Zheng Bao 2009-04-22 23:27:25 +00:00 committed by Carl-Daniel Hailfinger
parent f182456013
commit 9f0f1055f2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ define OBJCOPY
comment "Objcopy command"
end
define COREBOOT_VERSION
default "2.0.0"
default "2.0.0-r$(shell if [ -f `which svnversion` ]; then svnversion $(TOP); fi)"
export always
format "\"%s\""
comment "coreboot version"