- 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).
This commit is contained in:
parent
bfd5387e3a
commit
402bd9aaee
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user