summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-10-21 02:44:11 +0000
committernyan <nyan@FreeBSD.org>2000-10-21 02:44:11 +0000
commit92b7785b98b461c35eff8d4575667ddbcb465db8 (patch)
treec93bc14f8a0695e3d87fef49136ba1e1495c7311
parent16dd7397510a917ec68ca73dcec7cd5e39c661d5 (diff)
downloadFreeBSD-src-92b7785b98b461c35eff8d4575667ddbcb465db8.zip
FreeBSD-src-92b7785b98b461c35eff8d4575667ddbcb465db8.tar.gz
if_ed_cbus.c is required from PC-98 only, and if_ed_isa.c is not necessary
for PC-98.
-rw-r--r--sys/modules/ed/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/modules/ed/Makefile b/sys/modules/ed/Makefile
index cc6809e..b87438e 100644
--- a/sys/modules/ed/Makefile
+++ b/sys/modules/ed/Makefile
@@ -2,7 +2,15 @@
.PATH: ${.CURDIR}/../../dev/ed
KMOD = if_ed
-SRCS = if_ed.c if_ed_cbus.c if_ed_isa.c if_ed_pccard.c if_ed_pci.c
+SRCS = if_ed.c if_ed_pccard.c if_ed_pci.c
+
+.if ${MACHINE} == "pc98"
+SRCS += if_ed_cbus.c
+CFLAGS += -DPC98
+.else
+SRCS += if_ed_isa.c
+.endif
+
SRCS += opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud