Kernel build automation help

Mike A. Harris (mharris@meteng.on.ca)
Thu, 22 Apr 1999 20:15:56 -0400 (EDT)


Assuming that kernel sources are properly installed in /usr/src/linux
from a clean tarball, and are unmodified, what is the easiest way to
grab the kernel version number of the installed source?

I've been trying to grab it from the top level makefile, but my script
writing abilities seem to be lacking.

Anyone have a few lines of simple bash code to get the kernel source
version?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/