summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2013-01-17 07:04:37 +0000
committerneel <neel@FreeBSD.org>2013-01-17 07:04:37 +0000
commitd20dd131b5d2bbd1178a4ea9124b83aa7f9576df (patch)
tree3c8bad9569de99664550198eec8885bbdf6edf93 /sys/modules
parentdee2455ab597b46c857f50c31c4ae88b56c694d4 (diff)
parentecb4042c11ebefee647476c31655e844f5e32bfe (diff)
downloadFreeBSD-src-d20dd131b5d2bbd1178a4ea9124b83aa7f9576df.zip
FreeBSD-src-d20dd131b5d2bbd1178a4ea9124b83aa7f9576df.tar.gz
IFC @ r245509
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/cxgbe/tom/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/modules/cxgbe/tom/Makefile b/sys/modules/cxgbe/tom/Makefile
index 72721be..d02afd4 100644
--- a/sys/modules/cxgbe/tom/Makefile
+++ b/sys/modules/cxgbe/tom/Makefile
@@ -10,15 +10,20 @@ CXGBE = ${.CURDIR}/../../../dev/cxgbe
KMOD = t4_tom
SRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c t4_ddp.c
SRCS+= device_if.h bus_if.h pci_if.h
-SRCS+= opt_inet.h
+SRCS+= opt_inet.h opt_inet6.h
CFLAGS+= -I${CXGBE}
.if !defined(KERNBUILDDIR)
.if ${MK_INET_SUPPORT} != "no"
opt_inet.h:
- echo "#define INET 1" > ${.TARGET}
- echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
+ @echo "#define INET 1" > ${.TARGET}
+ @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
+.endif
+
+.if ${MK_INET6_SUPPORT} != "no"
+opt_inet6.h:
+ @echo "#define INET6 1" > ${.TARGET}
.endif
.endif
OpenPOWER on IntegriCloud