Build iicbus/{ds1307,ds3231,nxprtc} as modules.
This commit is contained in:
parent
406fb7d3e7
commit
c6f61639be
@ -3,6 +3,8 @@
|
|||||||
SUBDIR = \
|
SUBDIR = \
|
||||||
controllers \
|
controllers \
|
||||||
cyapa \
|
cyapa \
|
||||||
|
ds1307 \
|
||||||
|
ds3231 \
|
||||||
if_ic \
|
if_ic \
|
||||||
iic \
|
iic \
|
||||||
iicbb \
|
iicbb \
|
||||||
@ -10,6 +12,7 @@ SUBDIR = \
|
|||||||
iicsmb \
|
iicsmb \
|
||||||
isl \
|
isl \
|
||||||
jedec_ts \
|
jedec_ts \
|
||||||
|
nxprtc \
|
||||||
smb \
|
smb \
|
||||||
smbus \
|
smbus \
|
||||||
|
|
||||||
|
7
sys/modules/i2c/ds1307/Makefile
Normal file
7
sys/modules/i2c/ds1307/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${SRCTOP}/sys/dev/iicbus
|
||||||
|
KMOD = ds1307
|
||||||
|
SRCS = ds1307.c bus_if.h clock_if.h device_if.h iicbus_if.h
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
7
sys/modules/i2c/ds3231/Makefile
Normal file
7
sys/modules/i2c/ds3231/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${SRCTOP}/sys/dev/iicbus
|
||||||
|
KMOD = ds3231
|
||||||
|
SRCS = ds3231.c bus_if.h clock_if.h device_if.h iicbus_if.h
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
7
sys/modules/i2c/nxprtc/Makefile
Normal file
7
sys/modules/i2c/nxprtc/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${SRCTOP}/sys/dev/iicbus
|
||||||
|
KMOD = nxprtc
|
||||||
|
SRCS = nxprtc.c bus_if.h clock_if.h device_if.h iicbus_if.h
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user