xref: /dragonfly/sys/dev/disk/Makefile (revision 3f5e28f4)
1# $DragonFly: src/sys/dev/disk/Makefile,v 1.3 2007/01/30 14:50:11 corecode Exp $
2#
3
4.include "${.CURDIR}/../../platform/${MACHINE_PLATFORM}/Makefile.inc"
5
6SUBDIR= aha aic7xxx ccd ispfw md ncv nsp sbp stg trm vn vpo
7
8.for dir in ${SUBDIR}
9.if empty(DEV_SUPPORT:Mdisk) && \
10	empty(DEV_SUPPORT:Mdisk/${dir}) && empty(DEV_SUPPORT:Mdisk/${dir}/*)
11SUBDIR:= ${SUBDIR:N${dir}}
12.endif
13.endfor
14
15.include <bsd.subdir.mk>
16