aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mthca
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
commitaeaed508982227551b2748339033bb2483382b4d (patch)
treec03685b1d6ae030d6a0c9b2f8902e105aa1e4fd4 /sys/modules/mthca
parentb0a8d404e5b942b4ccf1ad17137e33115202c1cf (diff)
Notes
Diffstat (limited to 'sys/modules/mthca')
-rw-r--r--sys/modules/mthca/Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/modules/mthca/Makefile b/sys/modules/mthca/Makefile
index dd34d70114f3..25daedb0e3d3 100644
--- a/sys/modules/mthca/Makefile
+++ b/sys/modules/mthca/Makefile
@@ -2,8 +2,6 @@
.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca
-.include <src.opts.mk>
-
KMOD = mthca
SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
SRCS+= mthca_allocator.c mthca_av.c mthca_catas.c mthca_cmd.c mthca_cq.c
@@ -14,18 +12,6 @@ SRCS+= opt_inet.h opt_inet6.h
CFLAGS+= -I${.CURDIR}/../../ofed/include
-.if !defined(KERNBUILDDIR)
-.if ${MK_INET_SUPPORT} != "no"
-opt_inet.h:
- @echo "#define INET 1" > ${.TARGET}
-.endif
-
-.if ${MK_INET6_SUPPORT} != "no"
-opt_inet6.h:
- @echo "#define INET6 1" > ${.TARGET}
-.endif
-.endif
-
.include <bsd.kmod.mk>
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}