Build ofw_bus_if.h for modules that need it on arm64
This commit is contained in:
parent
2fca9311fc
commit
41a95585a8
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user