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
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to