Fix detection of kernel source directory when it is different to build directory. Signed-off-by: James Pike <james@xxxxxxxxxx>
diff --git a/configure b/configure index e01ba98..c3b7a5f 100755 --- a/configure +++ b/configure @@ -91,7 +91,7 @@ arch=${arch%%-*} # see if we have split build and source directories if [ -d "$kerneldir/include2" ]; then - kernelsourcedir=${kerneldir%/*}/source + kernelsourcedir=`readlink -f $kerneldir/source` fi if [ -n "$no_uname" -a "$want_module" ]; then