2012-10-03 10:55:40 +02:00
|
|
|
# Makefile for the mmc driver.
|
|
|
|
PROG= mmc
|
2013-05-24 15:39:41 +02:00
|
|
|
SRCS= mmcblk.c mmchost_dummy.c mmclog.h sdhcreg.h sdmmcreg.h
|
|
|
|
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
|
|
SRCS += mmchost_mmchs.c
|
|
|
|
.endif
|
|
|
|
|
2012-10-03 10:55:40 +02:00
|
|
|
|
|
|
|
DPADD+= ${LIBBLOCKDRIVER} ${LIBSYS}
|
|
|
|
LDADD+= -lblockdriver -lsys
|
|
|
|
CLEANFILES+=.depend mmcblk.d
|
|
|
|
|
|
|
|
#
|
|
|
|
# This is a system driver.
|
|
|
|
CPPFLAGS+= -D_SYSTEM=1
|
|
|
|
|
|
|
|
MAN=
|
|
|
|
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
|
|
|
|
.include <minix.service.mk>
|