Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.
This commit is contained in:
parent
5c6baccd48
commit
4bec83c968
@ -1,9 +1,10 @@
|
||||
# $Id: Makefile,v 1.65 1999/06/24 05:21:19 grog Exp $
|
||||
# $Id: Makefile,v 1.66 1999/07/23 05:47:55 wpaul Exp $
|
||||
|
||||
# XXX present but broken: atapi ip_mroute_mod joy pcic
|
||||
|
||||
SUBDIR= ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw kernfs \
|
||||
mfs msdos nfs ntfs nullfs portal procfs sk ti tl umapfs union vn xl
|
||||
SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
|
||||
kernfs mfs msdos mx nfs ntfs nullfs portal procfs sk ti tl \
|
||||
umapfs union vn xl
|
||||
|
||||
# XXX some of these can move to the general case when de-i386'ed
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
|
28
sys/modules/ax/Makefile
Normal file
28
sys/modules/ax/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
|
||||
|
||||
S = ${.CURDIR}/../..
|
||||
.PATH: $S/pci
|
||||
KMOD = ax
|
||||
SRCS = if_ax.c ax.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||
CLEANFILES += ax.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||
CFLAGS += ${DEBUG_FLAGS}
|
||||
|
||||
ax.h:
|
||||
echo "#define NFXP 1" > ax.h
|
||||
|
||||
bpf.h:
|
||||
echo "#define NBPF 1" > bpf.h
|
||||
|
||||
opt_bdg.h:
|
||||
touch opt_bdg.h
|
||||
|
||||
device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/kern/device_if.m
|
||||
|
||||
bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
|
||||
|
||||
pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
|
||||
|
||||
.include <bsd.kmod.mk>
|
28
sys/modules/mx/Makefile
Normal file
28
sys/modules/mx/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
|
||||
|
||||
S = ${.CURDIR}/../..
|
||||
.PATH: $S/pci
|
||||
KMOD = mx
|
||||
SRCS = if_mx.c mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||
CLEANFILES += mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||
CFLAGS += ${DEBUG_FLAGS}
|
||||
|
||||
mx.h:
|
||||
echo "#define NFXP 1" > mx.h
|
||||
|
||||
bpf.h:
|
||||
echo "#define NBPF 1" > bpf.h
|
||||
|
||||
opt_bdg.h:
|
||||
touch opt_bdg.h
|
||||
|
||||
device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/kern/device_if.m
|
||||
|
||||
bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
|
||||
|
||||
pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
|
||||
perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user