svn commit: r330412 - in head/sys/modules/i2c: . rtc8583
Ian Lepore
ian at FreeBSD.org
Sun Mar 4 21:06:22 UTC 2018
Author: ian
Date: Sun Mar 4 21:06:21 2018
New Revision: 330412
URL: https://svnweb.freebsd.org/changeset/base/330412
Log:
Build iicbus/rtc8583 as a module.
Added:
head/sys/modules/i2c/rtc8583/
head/sys/modules/i2c/rtc8583/Makefile (contents, props changed)
Modified:
head/sys/modules/i2c/Makefile
Modified: head/sys/modules/i2c/Makefile
==============================================================================
--- head/sys/modules/i2c/Makefile Sun Mar 4 21:04:30 2018 (r330411)
+++ head/sys/modules/i2c/Makefile Sun Mar 4 21:06:21 2018 (r330412)
@@ -17,6 +17,7 @@ SUBDIR = \
jedec_dimm \
jedec_ts \
nxprtc \
+ rtc8583 \
s35390a \
smb \
smbus \
Added: head/sys/modules/i2c/rtc8583/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/modules/i2c/rtc8583/Makefile Sun Mar 4 21:06:21 2018 (r330412)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/dev/iicbus
+KMOD = rtc8583
+SRCS = rtc8583.c
+
+# Generated files...
+SRCS+= \
+ bus_if.h \
+ clock_if.h \
+ device_if.h \
+ iicbus_if.h \
+ opt_platform.h \
+
+.if !empty(OPT_FDT)
+SRCS+= ofw_bus_if.h
+.endif
+
+.include <bsd.kmod.mk>
More information about the svn-src-head
mailing list