summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-15 23:24:17 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-15 23:24:17 +0000
commit9ce04d37802599e7a6e36407bdedfa2e2991b3b3 (patch)
treedb47cf7d7f90b381297515ddb0853b11e554ee56 /sys/modules
parent2eb180a0298842f0aa66570b1a44c8b00011047d (diff)
downloadFreeBSD-src-9ce04d37802599e7a6e36407bdedfa2e2991b3b3.zip
FreeBSD-src-9ce04d37802599e7a6e36407bdedfa2e2991b3b3.tar.gz
Don't build if_iso88025subr.c into the oltr module.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/oltr/Makefile28
1 files changed, 3 insertions, 25 deletions
diff --git a/sys/modules/oltr/Makefile b/sys/modules/oltr/Makefile
index 19adc98..9701c9f 100644
--- a/sys/modules/oltr/Makefile
+++ b/sys/modules/oltr/Makefile
@@ -1,34 +1,12 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../contrib/dev/oltr ${.CURDIR}/../../net
+.PATH: ${.CURDIR}/../../contrib/dev/oltr
KMOD = if_oltr
-SRCS = if_oltr.c trlldbm.c trlldhm.c trlldmac.c if_iso88025subr.c \
- opt_inet.h opt_inet6.h opt_ipx.h device_if.h bus_if.h pci_if.h
+SRCS = if_oltr.c trlldbm.c trlldhm.c trlldmac.c \
+ device_if.h bus_if.h pci_if.h
OBJS+= trlld.o
-TR_INET?= 1 # 0/1 requires INET to be configured in the kernel
-TR_INET6?= 0 # 0/1 requires INET6 to be configured in the kernel
-TR_IPX?= 0 # 0/1 requires IPX to be configured in the kernel
-
trlld.o:
uudecode < ${.CURDIR}/../../contrib/dev/oltr/i386-elf.trlld.o.uu
-opt_inet.h:
- touch opt_inet.h
-.if ${TR_INET} > 0
- echo "#define INET 1" > opt_inet.h
-.endif
-
-opt_inet6.h:
- touch opt_inet6.h
-.if ${TR_INET6} > 0
- echo "#define INET6 1" > opt_inet6.h
-.endif
-
-opt_ipx.h:
- touch opt_ipx.h
-.if ${TR_IPX} > 0
- echo "#define IPX 1" > opt_ipx.h
-.endif
-
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud