Build iicbus/rtc8583 as a module.

This commit is contained in:
Ian Lepore 2018-03-04 21:06:21 +00:00
parent 5deff57b6f
commit 5a45ce2f62
2 changed files with 20 additions and 0 deletions

View File

@ -17,6 +17,7 @@ SUBDIR = \
jedec_dimm \
jedec_ts \
nxprtc \
rtc8583 \
s35390a \
smb \
smbus \

View File

@ -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>