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>
This commit is contained in:
Seth Jennings 2014-03-02 19:47:23 -06:00
parent 6a36470123
commit d62798fde8
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ else
cd "$SRCDIR"
cp .config "$OBJDIR" || die
echo "$LOCALVERSION" > "$OBJDIR/localversion" || die
echo "$LOCALVERSION" > "$SRCDIR/localversion" || die
fi
echo "Building original kernel"