Overdue reversion of revision 1.143.
OK'ed by: imp
This commit is contained in:
parent
07742bd14e
commit
776f50b966
@ -170,11 +170,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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user