18 lines
332 B
Makefile
18 lines
332 B
Makefile
# Makefile for the mmc driver.
|
|
PROG= mmc
|
|
SRCS= mmcblk.c mmchost_dummy.c sdhcreg.h sdmmcreg.h
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SRCS += mmchost_mmchs.c
|
|
.endif
|
|
|
|
DPADD+= ${LIBBLOCKDRIVER} ${LIBSYS}
|
|
LDADD+= -lblockdriver -lsys
|
|
CLEANFILES+=.depend mmcblk.d
|
|
|
|
#
|
|
# This is a system driver.
|
|
CPPFLAGS+= -D_SYSTEM=1
|
|
|
|
.include <minix.service.mk>
|