1# $DragonFly: src/sys/dev/disk/Makefile,v 1.4 2008/01/05 08:16:04 pavalos Exp $ 2# 3 4.include "${.CURDIR}/../../platform/${MACHINE_PLATFORM}/Makefile.inc" 5 6SUBDIR= aha aic 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