commit | e11f5fc2567622a6a52ab7254f95535bc31dc4a5 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Wed Oct 04 04:42:22 2006 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Wed Oct 04 04:42:22 2006 +0000 |
tree | 22d79d46a26c183990941e4db8ae6cd3aa7cf10f | |
parent | 4f3b47ac38257af51370bc41422fc7372783168c [diff] |
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