Build ofw_bus_if.h for modules that need it on arm64

This commit is contained in:
Ed Maste 2015-10-21 18:30:42 +00:00
parent 2fca9311fc
commit 41a95585a8
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/iicbus
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "powerpc"
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "powerpc"
ofw_bus_if= ofw_bus_if.h
.endif
KMOD = iicbb

View File

@ -10,8 +10,8 @@ uart_bus_ebus= uart_bus_ebus.c
uart_dev_lpc= uart_dev_lpc.c
.endif
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "sparc64" || \
${MACHINE_CPUARCH} == "powerpc"
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "powerpc"
ofw_bus_if= ofw_bus_if.h
.endif