diff options
author | marius <marius@FreeBSD.org> | 2005-11-22 17:32:51 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-11-22 17:32:51 +0000 |
commit | 402bd9aaee3ab47e2845272c8f87fd9a10305e86 (patch) | |
tree | f409021ce02c4f437685816f5dd166e6b85c00f0 /sys | |
parent | bfd5387e3a6a532038c79404933724d35c53920c (diff) | |
download | FreeBSD-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/Makefile | 19 |
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> |