turns printfs back on
[freebsd-src/fkvm-freebsd.git] / share / mk / bsd.kmod.mk
blob8cc15b09c5c416ee1f48f95bb59b91654864f59d
1 # $FreeBSD$
3 # Search for kernel source tree in standard places.
4 .for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. \
5 /sys /usr/src/sys
6 .if !defined(SYSDIR) && exists(${_dir}/kern/) && exists(${_dir}/conf/kmod.mk)
7 SYSDIR= ${_dir}
8 .endif
9 .endfor
10 .if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \
11 !exists(${SYSDIR}/conf/kmod.mk)
12 .error "can't find kernel source tree"
13 .endif
15 .include "${SYSDIR}/conf/kmod.mk"
17 .include <bsd.sys.mk>