526eb34144
Change-Id: I682d136c80fc868d3f0a5edb0cf6c33c0f3a28ea
34 lines
728 B
Makefile
34 lines
728 B
Makefile
# Makefile for all device drivers.
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MKIMAGEONLY} == "yes"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR= at_wini floppy log tty pci
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SUBDIR= log tty
|
|
.endif
|
|
|
|
.else # ${MKIMAGEONLY} != "yes"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR= ahci amddev atl2 at_wini audio dec21140A dp8390 dpeth \
|
|
e1000 fbd filter floppy fxp hello lance log mmc orinoco pci printer \
|
|
random readclock rtl8139 rtl8169 ti1225 tty vbox acpi \
|
|
virtio_blk virtio_net
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SUBDIR= cat24c256 fb gpio i2c mmc log tty random
|
|
.endif
|
|
|
|
.endif # ${MKIMAGEONLY} != "yes"
|
|
|
|
# memory driver must be last for ramdisk image
|
|
SUBDIR+= ramdisk .WAIT memory
|
|
|
|
.include <bsd.subdir.mk>
|