xref: /dflybsd-src/sys/dev/disk/Makefile (revision 28616d01bbfd87b12cbde56b9332d0bc8fec41ec)
12de7e9e4SSimon Schubert.include "${.CURDIR}/../../platform/${MACHINE_PLATFORM}/Makefile.inc"
2549ad397SMatthew Dillon
36daa0b12SJan SucanSUBDIR= ahci ccd dm iscsi isp md mmcsd mpt nata
4075c6d38SMatthew DillonSUBDIR+= nvme sbp sdhci sili sym trm vn vpo
5*28616d01SMatthew DillonSUBDIR+= xdisk
6549ad397SMatthew Dillon
72de7e9e4SSimon Schubert.for dir in ${SUBDIR}
82de7e9e4SSimon Schubert.if empty(DEV_SUPPORT:Mdisk) && \
92de7e9e4SSimon Schubert	empty(DEV_SUPPORT:Mdisk/${dir}) && empty(DEV_SUPPORT:Mdisk/${dir}/*)
102de7e9e4SSimon SchubertSUBDIR:= ${SUBDIR:N${dir}}
11549ad397SMatthew Dillon.endif
122de7e9e4SSimon Schubert.endfor
13ac2e3f5eSMatthew Dillon
14b0d289c2SMatthew Dillon# Empty for concurrent build
15b0d289c2SMatthew Dillon#
16b0d289c2SMatthew DillonSUBDIR_ORDERED=
17b0d289c2SMatthew Dillon
18ac2e3f5eSMatthew Dillon.include <bsd.subdir.mk>
19