aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
commit0341ccf22728f358d39b1f696786e7a34ce23669 (patch)
tree5b323214bcc00b4c3273f62d04e626ed9cc1da5c /include/Makefile
parent38082ac9aed3bbef5c81dfee18880c1c3fec4b06 (diff)
downloadsrc-0341ccf22728f358d39b1f696786e7a34ce23669.tar.gz
src-0341ccf22728f358d39b1f696786e7a34ce23669.zip
Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries
Notes
Notes: svn path=/projects/building-blocks/; revision=275142
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index fe62e5e26d49..6003e2683bb8 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -44,7 +44,7 @@ LSUBDIRS= cam/ata cam/scsi \
dev/hwpmc \
dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/nvme \
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
- dev/speaker dev/usb dev/utopia dev/vkbd dev/wi \
+ dev/speaker dev/utopia dev/vkbd dev/wi \
fs/cuse \
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
fs/procfs fs/smbfs fs/udf fs/unionfs \
@@ -57,6 +57,10 @@ LSUBDIRS= cam/ata cam/scsi \
security/mac_mls security/mac_partition \
ufs/ffs ufs/ufs
+.if ${MK_USB} != "no"
+LSUBDIRS+= dev/usb
+.endif
+
LSUBSUBDIRS= dev/mpt/mpilib
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"