summaryrefslogtreecommitdiff
path: root/sys/modules/i2c
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@FreeBSD.org>2015-04-04 20:30:20 +0000
committerAndreas Tobler <andreast@FreeBSD.org>2015-04-04 20:30:20 +0000
commitb9c2f094f2d7ccf7206a9cb4830a60c192dcf513 (patch)
tree7725e999bc4ec4ab53375b7d5604bab9e881393d /sys/modules/i2c
parentd30c6f8edf7b7a6960e87f9d2238250c9434039f (diff)
Notes
Diffstat (limited to 'sys/modules/i2c')
-rw-r--r--sys/modules/i2c/iicbb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/i2c/iicbb/Makefile b/sys/modules/i2c/iicbb/Makefile
index 75d1c83c7d95..bd4e506fd737 100644
--- a/sys/modules/i2c/iicbb/Makefile
+++ b/sys/modules/i2c/iicbb/Makefile
@@ -1,8 +1,11 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/iicbus
+.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "powerpc"
+ofw_bus_if= ofw_bus_if.h
+.endif
KMOD = iicbb
SRCS = device_if.h bus_if.h iicbus_if.h \
- iicbb_if.h iicbb_if.c iicbb.c opt_platform.h
+ iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h
.include <bsd.kmod.mk>