svn commit: r289710 - in head/sys/modules: i2c/iicbb uart
Ed Maste
emaste at FreeBSD.org
Wed Oct 21 18:30:44 UTC 2015
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
More information about the svn-src-all
mailing list