diff --git a/configure.ac b/configure.ac index 9a7b103d0c..454e643a92 100644 --- a/configure.ac +++ b/configure.ac @@ -96,9 +96,11 @@ else AC_MSG_RESULT([no]) fi +TOPDIR=`/bin/pwd` + # Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build KERNELMAKE_PARAMS= -KERNELCPPFLAGS="-I`/bin/pwd`/include" +KERNELCPPFLAGS="-I$TOPDIR -I$TOPDIR/include" if test "$kernelbuild" != "$kernelsrc"; then KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"