David van Moolenbroek 6068a2ee9f mmc/emmc: compile for ARM target only
It was not used or tested on x86 in practice, and the automated arm
tests should obviate the need for a dummy-only x86 implementation.
It should be noted that this change is merely the simplest way to
deal with conflicts with live update (for the second time now).

Change-Id: I6e066c4659c6213cd556144271784588356b140f
2016-01-13 20:32:30 +01:00

29 lines
613 B
Makefile

.include <bsd.own.mk>
.if ${MKIMAGEONLY} == "no"
. if ${MACHINE_ARCH} == "i386"
SUBDIR+= ahci
SUBDIR+= fbd
SUBDIR+= filter
SUBDIR+= virtio_blk
. endif # ${MACHINE_ARCH} == "i386"
. if ${MACHINE_ARCH} == "earm"
SUBDIR+= mmc
. endif # ${MACHINE_ARCH} == "earm"
SUBDIR+= vnd
.endif # ${MKIMAGEONLY} == "no"
.if ${MACHINE_ARCH} == "i386"
SUBDIR+= at_wini
SUBDIR+= floppy
.endif # ${MACHINE_ARCH} == "i386"
# memory driver must be last for ramdisk image.
# Everything else must be done before ramdisk as it needs
# executables from other targets.
SUBDIR+= .WAIT ramdisk .WAIT memory
.include <bsd.subdir.mk>