svn commit: r276637 - head/sys/modules/uart

Justin Hibbits jhibbits at FreeBSD.org
Sat Jan 3 21:47:34 UTC 2015


Author: jhibbits
Date: Sat Jan  3 21:47:32 2015
New Revision: 276637
URL: https://svnweb.freebsd.org/changeset/base/276637

Log:
  PowerPC also needs ofw_bus_if.h when using FDT.

Modified:
  head/sys/modules/uart/Makefile

Modified: head/sys/modules/uart/Makefile
==============================================================================
--- head/sys/modules/uart/Makefile	Sat Jan  3 21:44:47 2015	(r276636)
+++ head/sys/modules/uart/Makefile	Sat Jan  3 21:47:32 2015	(r276637)
@@ -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
 


More information about the svn-src-all mailing list