Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.
This commit is contained in:
parent
91caa9b8c1
commit
624e87b673
@ -25,7 +25,7 @@
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
|
||||
SUBDIR = gpiobus gpioiic gpioled gpiospi
|
||||
SUBDIR = gpiobus gpioiic gpioled gpiospi gpioths
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SUBDIR += gpiokeys gpiopps
|
||||
|
19
sys/modules/gpio/gpioths/Makefile
Normal file
19
sys/modules/gpio/gpioths/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/gpio/
|
||||
|
||||
KMOD= gpioths
|
||||
SRCS= gpioths.c
|
||||
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
device_if.h \
|
||||
gpio_if.h \
|
||||
gpiobus_if.h \
|
||||
ofw_bus_if.h \
|
||||
opt_platform.h \
|
||||
|
||||
CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user