summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-12-27 19:50:37 +0000
committerWarner Losh <imp@FreeBSD.org>2003-12-27 19:50:37 +0000
commit34f40c9b637ce5f27d3e343cdffa1c0aed2669c4 (patch)
tree49e54968835f3656bea4e4041ae721260a4d6279
parent4acf0ddea2d9ccd0781a0f4c2806617f7aef15a9 (diff)
Notes
-rw-r--r--sys/modules/sio/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile
new file mode 100644
index 000000000000..5feb9025c685
--- /dev/null
+++ b/sys/modules/sio/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/sio
+
+KMOD= sio
+SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c
+
+.if ${MACHINE} == "sparc64"
+### untested
+CFLAGS += sio_ebus.c
+.endif
+.if ${MACHINE} == "pc98"
+CFLAGS+= -DPC98
+.else
+SRCS+= sio_isa.c
+.endif
+
+opt_compat.h:
+ @echo '#define COMPAT_43 1' > opt_compat.h
+ @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h
+
+SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \
+ bus_if.h card_if.h device_if.h isa_if.h pci_if.h
+
+.include <bsd.kmod.mk>