Author: emaste
Date: Wed Oct 21 18:30:42 2015
New Revision: 289710
URL: https://svnweb.freebsd.org/changeset/base/289710

Log:
  Build ofw_bus_if.h for modules that need it on arm64

Modified:
  head/sys/modules/i2c/iicbb/Makefile
  head/sys/modules/uart/Makefile

Modified: head/sys/modules/i2c/iicbb/Makefile
==============================================================================
--- head/sys/modules/i2c/iicbb/Makefile Wed Oct 21 17:49:54 2015        
(r289709)
+++ head/sys/modules/i2c/iicbb/Makefile Wed Oct 21 18:30:42 2015        
(r289710)
@@ -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

Modified: head/sys/modules/uart/Makefile
==============================================================================
--- head/sys/modules/uart/Makefile      Wed Oct 21 17:49:54 2015        
(r289709)
+++ head/sys/modules/uart/Makefile      Wed Oct 21 18:30:42 2015        
(r289710)
@@ -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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to