Wordsmith the can't find kernel error message, and suggest which

variable to set to override.
This commit is contained in:
Warner Losh 2012-02-15 21:20:58 +00:00
parent 4b0a800988
commit c693bd2ff6

View file

@ -9,7 +9,7 @@ SYSDIR= ${_dir}
.endfor
.if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \
!exists(${SYSDIR}/conf/kmod.mk)
.error "can't find kernel source tree"
.error "can't locate the kernel source tree, set SYSDIR to override."
.endif
.include "${SYSDIR}/conf/kmod.mk"