minix/drivers/i2c/Makefile
Thomas Cort 4593804bf0 kernel: add padconf kernel call
On the AM335X, writes to the padconf registers must be done in privileged
mode. To allow userspace drivers to dynamically change the padconf at
runtime, a kernel call has been added.

Change-Id: I4b25d2879399b1785a360912faa0e90b5c258533
2013-08-28 12:53:05 -04:00

20 lines
348 B
Makefile

# Makefile for I2C support
PROG= i2c
.include "arch/${MACHINE_ARCH}/Makefile.inc"
SRCS+= i2c.c
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS} ${CLKCONF}
LDADD+= -lchardriver -lsys -ltimers -lclkconf
MAN=
BINDIR?= /usr/sbin
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
.include <minix.service.mk>
.include <bsd.subdir.mk>