While make has been fixed to grok this construct, the new make hasn't

been widely deploy and that's causing us a lot of pain.  Back out the
last commit for a few weeks so that we can lessen the support load in
current@ asking why they can't build kernels anymore.  Instructions in
UPDATING have been updated, but this should be more effective.

Revert the reverting: November 1st, 2003
This commit is contained in:
Warner Losh 2003-10-03 22:00:06 +00:00
parent 77e8ad5714
commit eefb5d68b2

View File

@ -165,11 +165,11 @@ ${OBJS}: ${_link}
# Search for kernel source tree in standard places.
.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. /sys /usr/src/sys
.if !defined(SYSDIR) && exists(${_dir}/kern/)
.if !defined(SYSDIR) && exists(${_dir}/kern)
SYSDIR= ${_dir}
.endif
.endfor
.if !defined(SYSDIR) || !exists(${SYSDIR}/kern/)
.if !defined(SYSDIR) || !exists(${SYSDIR}/kern)
.error "can't find kernel source tree"
.endif