Add modules/rockchip
Build rockchip modules as part of buildkernel. Add the i2c controller module.
This commit is contained in:
parent
3de61a6883
commit
c0fc404789
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335115
@ -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"
|
||||
|
7
sys/modules/rockchip/Makefile
Normal file
7
sys/modules/rockchip/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
# Build modules specific to RockChip.
|
||||
|
||||
SUBDIR = \
|
||||
rk_i2c \
|
||||
|
||||
.include <bsd.subdir.mk>
|
16
sys/modules/rockchip/rk_i2c/Makefile
Normal file
16
sys/modules/rockchip/rk_i2c/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user