summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2009-04-22 23:27:25 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-04-22 23:27:25 +0000
commit9f0f1055f2834efeb955c3cd36406962e0980cf0 (patch)
tree54ae00d7d554f8e5397b5257c68446d5c138ebff /src
parentf182456013a4416e176b000076b9f101c144d586 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/config/Options.lb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/Options.lb b/src/config/Options.lb
index 7bcba27e04..ee6ccb506e 100644
--- a/src/config/Options.lb
+++ b/src/config/Options.lb
@@ -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"