put localversions file in SRCDIR, not OBJDIR

The kernel Makefile look for localversion in the source tree,
not the object tree.  The absense from the source tree results
in a patch module that will not load because the kernel versions
don't match.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Merge pull request #39 from spartacus06/localversionfix

put localversions file in SRCDIR, not OBJDIR
Add a COPYING file to make it trivial to find the license in a standard place
Merge pull request #41 from puiterwijk/add-license

Add a COPYING file to make it trivial to find the license in a standard place
refactor and fix multiple issues

- Fixup debug messages
- Remove dead code
- No more DEPENDENCY state
- Reachability test is now the "Inclusion tree" for determining
  which syms/sections will be included in the output
- 'reachable' field is now and 'include' and is the sole
  consideration in including sections/symbols (no more complex
  conditional checks)
- Order LOCAL before GLOBAL in the symbol table.  Apparently, after
  a FILE sym, all LOCAL symbols should precede GLOBAL syms or readelf
  shows <corrupt>
- Handle __ksymtab_strings section and __ksymtab_* syms

Signed-off-by: Seth Jennings <sjenning@redhat.com>
add GPLv2 headers to source files
Merge pull request #43 from jpoimboe/gpl-headers

add GPLv2 headers to source files
Merge pull request #37 from spartacus06/fixes

refactor and fix multiple issues
enable gcc warnings and fix all warnings
Merge pull request #44 from jpoimboe/gcc-warnings

enable gcc warnings and fix all warnings
remove dead code

refactoring.  A couple of comment touchups too.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
fix KPATCH_BUILD path

use the build symlink in /lib/modules for a more portable
path to the build env for the kernel.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Merge pull request #45 from spartacus06/fixes

Fixes