svn commit: r335115 - in head/sys/modules: . rockchip rockchip/rk_i2c
Emmanuel Vadot
manu at FreeBSD.org
Thu Jun 14 06:41:00 UTC 2018
Author: manu
Date: Thu Jun 14 06:40:59 2018
New Revision: 335115
URL: https://svnweb.freebsd.org/changeset/base/335115
Log:
Add modules/rockchip
Build rockchip modules as part of buildkernel.
Add the i2c controller module.
Added:
head/sys/modules/rockchip/
head/sys/modules/rockchip/Makefile (contents, props changed)
head/sys/modules/rockchip/rk_i2c/
head/sys/modules/rockchip/rk_i2c/Makefile (contents, props changed)
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile Thu Jun 14 06:39:33 2018 (r335114)
+++ head/sys/modules/Makefile Thu Jun 14 06:40:59 2018 (r335115)
@@ -331,6 +331,7 @@ SUBDIR= \
${_rdrand_rng} \
re \
rl \
+ ${_rockchip} \
rtwn \
rtwn_pci \
rtwn_usb \
@@ -563,6 +564,7 @@ _allwinner= allwinner
_armv8crypto= armv8crypto
_efirt= efirt
_em= em
+_rockchip= rockchip
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
Added: head/sys/modules/rockchip/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/modules/rockchip/Makefile Thu Jun 14 06:40:59 2018 (r335115)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# Build modules specific to RockChip.
+
+SUBDIR = \
+ rk_i2c \
+
+.include <bsd.subdir.mk>
Added: head/sys/modules/rockchip/rk_i2c/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/modules/rockchip/rk_i2c/Makefile Thu Jun 14 06:40:59 2018 (r335115)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/arm64/rockchip
+
+KMOD= rk_i2c
+SRCS= rk_i2c.c
+
+SRCS+= \
+ bus_if.h \
+ clknode_if.h \
+ device_if.h \
+ iicbus_if.h \
+ ofw_bus_if.h \
+ opt_platform.h \
+
+.include <bsd.kmod.mk>
More information about the svn-src-all
mailing list