Author: hailfinger Date: 2009-04-23 01:27:25 +0200 (Thu, 23 Apr 2009) New Revision: 4191
Modified: trunk/coreboot-v2/src/config/Options.lb Log: 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
Modified: trunk/coreboot-v2/src/config/Options.lb =================================================================== --- trunk/coreboot-v2/src/config/Options.lb 2009-04-22 23:17:44 UTC (rev 4190) +++ trunk/coreboot-v2/src/config/Options.lb 2009-04-22 23:27:25 UTC (rev 4191) @@ -97,7 +97,7 @@ 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"