Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2016 13:21:45 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303440 - in head/sys/modules: i2c/iicbb uart
Message-ID:  <201607281321.u6SDLjan063563@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607281321.u6SDLjan063563>