Build ofw_bus_if.h for modules for RISC-V.
This commit is contained in:
parent
c760a23737
commit
8da8940319
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303440
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user