diff --git a/configure.ac b/configure.ac index eb1b6360a..623392f30 100644 --- a/configure.ac +++ b/configure.ac @@ -3385,6 +3385,9 @@ then if test "${KERNEL_ROOT}" = ""; then AC_MSG_ERROR([Linux kernel source root not found -- supply with --with-linux-source=PATH.]) 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 fi