diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -125,6 +125,9 @@ if [ -n "$no_uname" ]; then elif [ -e "$kerneldir/include/config/kernel.release" ]; then depmod_version=`cat "$kerneldir/include/config/kernel.release"` + elif [ -e "$kerneldir/.config" ]; then + depmod_version=$(awk '/Linux kernel version:/ { print $NF }' + "$kerneldir/.config") else echo echo "Error: kernelversion not found" |