Currently when using the make options. (i.e. make allyesconfig,allnoconfig,
randconfig) while building the kernel, the .config file for these options
are not recorded as done for the normal kernel build.

This patch adds the option for recording the .config. The naming convention
used is config + <make option> (i.e. config.allyesconfig) and in cases, where
we run more than once the same make command, it records the as
config.<make option>.<n> (This is usefull when we do more than one randconfig).

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2383 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index 885fbf3..360bdb1 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -156,11 +156,11 @@
 
     @log.record
     @tee_output_logdir_mark
-    def config(self, config_file = '', config_list = None, defconfig = False):
+    def config(self, config_file = '', config_list = None, defconfig = False, make = None):
         self.set_cross_cc()
         config = kernel_config.kernel_config(self.job, self.build_dir,
                  self.config_dir, config_file, config_list,
-                 defconfig, self.base_tree_version)
+                 defconfig, self.base_tree_version, make)
 
 
     def get_patches(self, patches):