bsd.kmod.mk revision 69775
160963Speter# $FreeBSD: head/share/mk/bsd.kmod.mk 69775 2000-12-08 20:36:32Z jasone $ 260963Speter 360963Speter# Search for kernel source tree in standard places. 462748Simp.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. /sys /usr/src/sys 569775Sjasone.if !defined(SYSDIR) && exists(${_dir}/conf/kmod.mk) 660963SpeterSYSDIR= ${_dir} 760963Speter.endif 860963Speter.endfor 969775Sjasone.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