Merge pull request #572 from arutk/configure_kernel_dir
configure: only check for kernel headers when no kernel source
This commit is contained in:
commit
520fbc9c17
2
configure
vendored
2
configure
vendored
@ -42,7 +42,7 @@ if [ "$SUBMODULES_MISSING" ]; then
|
||||
MISSING_TOOLS=1
|
||||
fi
|
||||
|
||||
if [ ! -e /lib/modules/$(uname -r)/build/ &> /dev/null ]
|
||||
if [ ! -e /lib/modules/$(uname -r)/build/ &> /dev/null ] && [ "$KERNEL_DIR" == "" ]
|
||||
then
|
||||
echo >&2 "Error: missing kernel headers and/or kernel devel"
|
||||
MISSING_TOOLS=1
|
||||
|
Loading…
Reference in New Issue
Block a user