Build ofw_bus_if.h for modules for RISC-V.

This commit is contained in:
Ruslan Bukin 2016-07-28 13:21:45 +00:00
parent c760a23737
commit 8da8940319
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303440
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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