diff options
author | ru <ru@FreeBSD.org> | 2004-03-06 21:23:56 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-06 21:23:56 +0000 |
commit | e82ea43f3939a4c4cdb2d93371a876038560f5b8 (patch) | |
tree | 00aa115e8dd29d3a5ca9315998896209427520f1 | |
parent | 2a3a2e007c3f0b2a255cef853c0205c3f7ed700f (diff) | |
download | FreeBSD-src-e82ea43f3939a4c4cdb2d93371a876038560f5b8.zip FreeBSD-src-e82ea43f3939a4c4cdb2d93371a876038560f5b8.tar.gz |
Overdue reversion of revision 1.143.
OK'ed by: imp
-rw-r--r-- | sys/conf/kmod.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 4138137..0766b71 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -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 |