svn commit: r303440 - in head/sys/modules: i2c/iicbb uart

Ruslan Bukin br at FreeBSD.org
Thu Jul 28 13:21:47 UTC 2016


Author: br
Date: Thu Jul 28 13:21:45 2016
New Revision: 303440
URL: https://svnweb.freebsd.org/changeset/base/303440

Log:
  Build ofw_bus_if.h for modules for RISC-V.

Modified:
  head/sys/modules/i2c/iicbb/Makefile
  head/sys/modules/uart/Makefile

Modified: head/sys/modules/i2c/iicbb/Makefile
==============================================================================
--- head/sys/modules/i2c/iicbb/Makefile	Thu Jul 28 13:18:10 2016	(r303439)
+++ head/sys/modules/i2c/iicbb/Makefile	Thu Jul 28 13:21:45 2016	(r303440)
@@ -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

Modified: head/sys/modules/uart/Makefile
==============================================================================
--- head/sys/modules/uart/Makefile	Thu Jul 28 13:18:10 2016	(r303439)
+++ head/sys/modules/uart/Makefile	Thu Jul 28 13:21:45 2016	(r303440)
@@ -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
 


More information about the svn-src-all mailing list