aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-07-28 13:21:45 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-07-28 13:21:45 +0000
commit8da894031995815fa9e693cfadaf4ca2be987fc6 (patch)
treeff9f692847e2f54f6e69ef4036ca682cbbc4490c
parentc760a23737e60956581f0f86f10964c0148e6a04 (diff)
Notes
-rw-r--r--sys/modules/i2c/iicbb/Makefile3
-rw-r--r--sys/modules/uart/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/i2c/iicbb/Makefile b/sys/modules/i2c/iicbb/Makefile
index b2263107e5f7..1235debe1ea9 100644
--- a/sys/modules/i2c/iicbb/Makefile
+++ b/sys/modules/i2c/iicbb/Makefile
@@ -2,7 +2,8 @@
.PATH: ${.CURDIR}/../../../dev/iicbus
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
- ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc"
+ ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" || \
+ ${MACHINE_CPUARCH} == "riscv"
ofw_bus_if= ofw_bus_if.h
.endif
KMOD = iicbb
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index 3caa61de8aef..b9e4a7ae469b 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -11,7 +11,8 @@ uart_dev_lpc= uart_dev_lpc.c
.endif
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
- ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "powerpc"
+ ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "riscv" || \
+ ${MACHINE_CPUARCH} == "sparc64"
ofw_bus_if= ofw_bus_if.h
.endif