PowerPC also needs ofw_bus_if.h when using FDT.

This commit is contained in:
Justin Hibbits 2015-01-03 21:47:32 +00:00
parent b59e55a927
commit c726c65e6b

View File

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