summaryrefslogtreecommitdiffstats
path: root/sys/modules/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/i2c')
-rw-r--r--sys/modules/i2c/controllers/pcf/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/i2c/controllers/pcf/Makefile b/sys/modules/i2c/controllers/pcf/Makefile
index 42d3ade..7227bec 100644
--- a/sys/modules/i2c/controllers/pcf/Makefile
+++ b/sys/modules/i2c/controllers/pcf/Makefile
@@ -1,8 +1,17 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../i386/isa
+.PATH: ${.CURDIR}/../../../../dev/pcf
KMOD = pcf
SRCS = device_if.h bus_if.h iicbus_if.h isa_if.h \
pcf.c
+.if ${MACHINE_ARCH} != "sparc64"
+SRCS += pcf_isa.c
+.endif
+
+.if ${MACHINE_ARCH} == "sparc64"
+SRCS += envctrl.c
+SRCS += pcf_ebus.c
+.endif
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud