From 776f50b9668297b59a6c2ad19373edd1c000b2a9 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 6 Mar 2004 21:23:56 +0000 Subject: Overdue reversion of revision 1.143. OK'ed by: imp --- sys/conf/kmod.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/conf') diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 41381373e817..0766b71540aa 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 -- cgit v1.2.3