diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-03-06 21:23:56 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-03-06 21:23:56 +0000 |
commit | 776f50b9668297b59a6c2ad19373edd1c000b2a9 (patch) | |
tree | 00aa115e8dd29d3a5ca9315998896209427520f1 /sys/conf | |
parent | 07742bd14eecd111d0bfcac2084cd062723dd3f0 (diff) | |
download | src-776f50b9668297b59a6c2ad19373edd1c000b2a9.tar.gz src-776f50b9668297b59a6c2ad19373edd1c000b2a9.zip |
Overdue reversion of revision 1.143.
OK'ed by: imp
Notes
Notes:
svn path=/head/; revision=126699
Diffstat (limited to 'sys/conf')
-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 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 |