4593804bf0
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
20 lines
348 B
Makefile
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>
|
|
|