bsd.kmod.mk revision 62748
160963Speter# $FreeBSD: head/share/mk/bsd.kmod.mk 62748 2000-07-07 05:12:33Z imp $ 260963Speter 360963Speter# Search for kernel source tree in standard places. 462748Simp.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. /sys /usr/src/sys 560963Speter.if !defined(SYSDIR) && exists(${_dir}/kern/) && exists(${_dir}/conf/) 660963SpeterSYSDIR= ${_dir} 760963Speter.endif 860963Speter.endfor 960963Speter.if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || !exists(${SYSDIR}/conf/) 1060963Speter.error "can't find kernel source tree" 1160963Speter.endif 1260963Speter 1360965Speter.include "${SYSDIR}/conf/kmod.mk" 14