diff options
author | neel <neel@FreeBSD.org> | 2013-01-17 07:04:37 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2013-01-17 07:04:37 +0000 |
commit | d20dd131b5d2bbd1178a4ea9124b83aa7f9576df (patch) | |
tree | 3c8bad9569de99664550198eec8885bbdf6edf93 /sys/modules | |
parent | dee2455ab597b46c857f50c31c4ae88b56c694d4 (diff) | |
parent | ecb4042c11ebefee647476c31655e844f5e32bfe (diff) | |
download | FreeBSD-src-d20dd131b5d2bbd1178a4ea9124b83aa7f9576df.zip FreeBSD-src-d20dd131b5d2bbd1178a4ea9124b83aa7f9576df.tar.gz |
IFC @ r245509
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/cxgbe/tom/Makefile | 11 |
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 |