diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 66b1e9b428d4..a4055aa5c54b 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 000000000000..3284bfff74c7 --- /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