mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
configure.ac: error when ENABLED_LINUXKM but $KERNEL_ARCH is empty (no default, no user value).
This commit is contained in:
@@ -3385,6 +3385,9 @@ then
|
|||||||
if test "${KERNEL_ROOT}" = ""; then
|
if test "${KERNEL_ROOT}" = ""; then
|
||||||
AC_MSG_ERROR([Linux kernel source root not found -- supply with --with-linux-source=PATH.])
|
AC_MSG_ERROR([Linux kernel source root not found -- supply with --with-linux-source=PATH.])
|
||||||
fi
|
fi
|
||||||
|
if test "${KERNEL_ARCH}" = ""; then
|
||||||
|
AC_MSG_ERROR([Linux kernel target architecture for build tree ${KERNEL_ROOT} could not be determined. Is target kernel configured?])
|
||||||
|
fi
|
||||||
|
|
||||||
ENABLED_NO_LIBRARY=yes
|
ENABLED_NO_LIBRARY=yes
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user