From 2b0769a8086eb8a46b531a40197a6502744bbc1d Mon Sep 17 00:00:00 2001 From: thompsa Date: Tue, 10 Apr 2007 00:41:31 +0000 Subject: Add trunk(4) module. --- sys/modules/Makefile | 1 + sys/modules/if_trunk/Makefile | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 sys/modules/if_trunk/Makefile (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 66b1e9b..a4055aa 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -113,6 +113,7 @@ SUBDIR= ${_3dfx} \ if_sl \ if_stf \ if_tap \ + if_trunk \ if_tun \ if_vlan \ ${_iir} \ diff --git a/sys/modules/if_trunk/Makefile b/sys/modules/if_trunk/Makefile new file mode 100644 index 0000000..3284bff --- /dev/null +++ b/sys/modules/if_trunk/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.include + +.PATH: ${.CURDIR}/../../net +KMOD= if_trunk +SRCS= if_trunk.c ieee8023ad_lacp.c opt_inet.h opt_inet6.h + +.if !defined(KERNBUILDDIR) +opt_inet.h: + echo "#define INET 1" > ${.TARGET} + +.if ${MK_INET6_SUPPORT} != "no" +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif +.endif + +.include -- cgit v1.1