diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-07-23 05:48:01 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-07-23 05:48:01 +0000 |
commit | 985cd025a1a6c62bd5cf58fb87f3d8d942351d35 (patch) | |
tree | cb6b66999979cc9d4402da8d2fb998f1a868daf6 /sys/modules | |
parent | 4111d3ca7f1fd2ce8c1b0094b667acbe01599aea (diff) | |
download | FreeBSD-src-985cd025a1a6c62bd5cf58fb87f3d8d942351d35.zip FreeBSD-src-985cd025a1a6c62bd5cf58fb87f3d8d942351d35.tar.gz |
Create module directories for the xl, ti, tl and sk drivers and add
them to the Makefile so that modules will be generated for /modules.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/sk/Makefile | 28 | ||||
-rw-r--r-- | sys/modules/ti/Makefile | 31 | ||||
-rw-r--r-- | sys/modules/tl/Makefile | 28 | ||||
-rw-r--r-- | sys/modules/xl/Makefile | 28 |
5 files changed, 117 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index aad6331..1eb4e3d 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,9 +1,9 @@ -# $Id: Makefile,v 1.64 1999/06/12 15:11:33 roger Exp $ +# $Id: Makefile,v 1.65 1999/06/24 05:21:19 grog 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 umapfs union vn + mfs msdos 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" diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile new file mode 100644 index 0000000..9c3b9eb --- /dev/null +++ b/sys/modules/sk/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = sk +SRCS = if_sk.c sk.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += sk.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +sk.h: + echo "#define NFXP 1" > sk.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> diff --git a/sys/modules/ti/Makefile b/sys/modules/ti/Makefile new file mode 100644 index 0000000..b3d2064 --- /dev/null +++ b/sys/modules/ti/Makefile @@ -0,0 +1,31 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = ti +SRCS = if_ti.c ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h +CLEANFILES += ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +ti.h: + echo "#define NFXP 1" > ti.h + +bpf.h: + echo "#define NBPF 1" > bpf.h + +opt_bdg.h: + touch opt_bdg.h + +vlan.h: + touch vlan.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> diff --git a/sys/modules/tl/Makefile b/sys/modules/tl/Makefile new file mode 100644 index 0000000..5150268 --- /dev/null +++ b/sys/modules/tl/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = tl +SRCS = if_tl.c tl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += tl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +tl.h: + echo "#define NFXP 1" > tl.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> diff --git a/sys/modules/xl/Makefile b/sys/modules/xl/Makefile new file mode 100644 index 0000000..d065849 --- /dev/null +++ b/sys/modules/xl/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = xl +SRCS = if_xl.c xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +xl.h: + echo "#define NFXP 1" > xl.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> |