dm - Bind into build system, fix small problem
[dragonfly.git] / sys / dev / disk / Makefile
blob912341328ff52edc4634847513b5217c904618b6
1 .include "${.CURDIR}/../../platform/${MACHINE_PLATFORM}/Makefile.inc"
3 SUBDIR= aha ahci aic aic7xxx ccd dm iscsi ispfw md mmcsd mpt ncv nsp
4 SUBDIR+= sbp sdhci sili stg trm vn vpo
6 .for dir in ${SUBDIR}
7 .if empty(DEV_SUPPORT:Mdisk) && \
8 empty(DEV_SUPPORT:Mdisk/${dir}) && empty(DEV_SUPPORT:Mdisk/${dir}/*)
9 SUBDIR:= ${SUBDIR:N${dir}}
10 .endif
11 .endfor
13 .include <bsd.subdir.mk>