]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/mk/bsd.kmod.mk
This commit was generated by cvs2svn to compensate for changes in r98675,
[FreeBSD/FreeBSD.git] / share / mk / bsd.kmod.mk
1 # $FreeBSD$
2
3 # Search for kernel source tree in standard places.
4 .for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. /sys /usr/src/sys
5 .if !defined(SYSDIR) && exists(${_dir}/conf/kmod.mk)
6 SYSDIR= ${_dir}
7 .endif
8 .endfor
9 .if !defined(SYSDIR) || !exists(${SYSDIR}/kern) || !exists(${SYSDIR}/conf/)
10 .error "can't find kernel source tree"
11 .endif
12
13 .include "${SYSDIR}/conf/kmod.mk"
14
15 .include <bsd.sys.mk>