svn commit: r355499 - in head/sys/modules/gpio: . gpioths
Ian Lepore
ian at FreeBSD.org
Sat Dec 7 17:54:42 UTC 2019
Author: ian
Date: Sat Dec 7 17:54:40 2019
New Revision: 355499
URL: https://svnweb.freebsd.org/changeset/base/355499
Log:
Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.
Added:
head/sys/modules/gpio/gpioths/
head/sys/modules/gpio/gpioths/Makefile (contents, props changed)
Modified:
head/sys/modules/gpio/Makefile
Modified: head/sys/modules/gpio/Makefile
==============================================================================
--- head/sys/modules/gpio/Makefile Sat Dec 7 17:46:32 2019 (r355498)
+++ head/sys/modules/gpio/Makefile Sat Dec 7 17:54:40 2019 (r355499)
@@ -25,7 +25,7 @@
# SUCH DAMAGE.
#
-SUBDIR = gpiobus gpioiic gpioled gpiospi
+SUBDIR = gpiobus gpioiic gpioled gpiospi gpioths
.if !empty(OPT_FDT)
SUBDIR += gpiokeys gpiopps
Added: head/sys/modules/gpio/gpioths/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/modules/gpio/gpioths/Makefile Sat Dec 7 17:54:40 2019 (r355499)
@@ -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>
More information about the svn-src-all
mailing list