Fix get_kernel_build_ver() to work off Makefile not version.h

I find that the current get_kernel_build_ver function doesn't work for me.
Here is another implementation which checks both Makefile and .config files,
grab out VERSION/PATCHLEVEL/SUBLEVEL/EXTRAVERSION and CONFIG_LOCAL_VERSION
strings. Please have a look, thanks. 

From: Yao Fei Zhu <walkinair@cn.ibm.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@280 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed
tree: 22d79d46a26c183990941e4db8ae6cd3aa7cf10f
  1. bin/
  2. deps/
  3. profilers/
  4. samples/
  5. tests/
  6. tools/
  7. ui/
  8. DCO
  9. LICENSE