Index: tools/buildtag
===================================================================
--- tools/buildtag	(revision 54257ba8d869f32e91e441efd77b5069cfb725c5)
+++ 	(revision )
@@ -1,10 +1,0 @@
-#! /bin/sh
-ARCH=$1
-TAG="`svnversion . 2> /dev/null`"
-TIMESTAMP="`date "+%Y-%m-%d %H:%M:%S" 2> /dev/null`"
-if [ -z "$TAG" ] || [ "$TAG" == "exported" ]; then
-	TAG="Built on $TIMESTAMP for $ARCH"
-else
-	TAG="Revision $TAG (built on $TIMESTAMP for $ARCH)"
-fi
-echo $TAG
Index: tools/config.py
===================================================================
--- tools/config.py	(revision 54257ba8d869f32e91e441efd77b5069cfb725c5)
+++ tools/config.py	(revision b87f41860c88213bb9dc599f59adedde6615550b)
@@ -6,4 +6,5 @@
 import os
 import re
+import commands
 
 INPUT = 'kernel.config'
@@ -377,5 +378,8 @@
             # Set title of the dialog window
             dlg.set_title(line[2:].strip())
-        
+
+    outf.write('\n')
+    outf.write('REVISION=%s\n' % commands.getoutput('svnversion . 2> /dev/null'))
+    outf.write('TIMESTAMP=%s\n' % commands.getoutput('date "+%Y-%m-%d %H:%M:%S"'))
     outf.close()
     f.close()
