summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-11-22 17:32:51 +0000
committermarius <marius@FreeBSD.org>2005-11-22 17:32:51 +0000
commit402bd9aaee3ab47e2845272c8f87fd9a10305e86 (patch)
treef409021ce02c4f437685816f5dd166e6b85c00f0 /sys
parentbfd5387e3a6a532038c79404933724d35c53920c (diff)
downloadFreeBSD-src-402bd9aaee3ab47e2845272c8f87fd9a10305e86.zip
FreeBSD-src-402bd9aaee3ab47e2845272c8f87fd9a10305e86.tar.gz
- Add ofw_bus_if.h to SRCS on sparc64 as envctrl.c and pcf_ebus.c depend
on it. - Sync with sys/conf/files* and build pcf_isa.c only on i386 for now. - Try to adhere to style.Makefile(5) (sorting, whitespace).
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/i2c/controllers/pcf/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/modules/i2c/controllers/pcf/Makefile b/sys/modules/i2c/controllers/pcf/Makefile
index 7227bec..4714cfd 100644
--- a/sys/modules/i2c/controllers/pcf/Makefile
+++ b/sys/modules/i2c/controllers/pcf/Makefile
@@ -1,17 +1,20 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../dev/pcf
-KMOD = pcf
-SRCS = device_if.h bus_if.h iicbus_if.h isa_if.h \
- pcf.c
+.PATH: ${.CURDIR}/../../../../dev/pcf
-.if ${MACHINE_ARCH} != "sparc64"
-SRCS += pcf_isa.c
+KMOD= pcf
+SRCS= ${envctrl} pcf.c ${pcf_ebus} ${pcf_isa}
+SRCS+= bus_if.h device_if.h iicbus_if.h ${isa_if} ${ofw_bus_if}
+
+.if ${MACHINE_ARCH} == "i386"
+isa_if= isa_if.h
+pcf_isa= pcf_isa.c
.endif
.if ${MACHINE_ARCH} == "sparc64"
-SRCS += envctrl.c
-SRCS += pcf_ebus.c
+envctrl= envctrl.c
+ofw_bus_if= ofw_bus_if.h
+pcf_ebus= pcf_ebus.c
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud