mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Honoring the kernel-supplied opt_ipsec.h in r361632 causes builds of ipsec modules to fail if the kernel doesn't include IPSEC_SUPPORT. However, the module can never be loaded into such a kernel, so only build the modules if the kernel includes IPSEC_SUPPORT. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25059
24 lines
390 B
Makefile
24 lines
390 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.include <kmod.opts.mk>
|
|
|
|
SUBDIR= \
|
|
${_tcp_bbr} \
|
|
${_tcp_rack} \
|
|
${_tcpmd5} \
|
|
|
|
.if ${MK_EXTRA_TCP_STACKS} != "no" || defined(ALL_MODULES)
|
|
_tcp_bbr= bbr
|
|
_tcp_rack= rack
|
|
.endif
|
|
|
|
.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
|
|
defined(ALL_MODULES)
|
|
.if ${KERN_OPTS:MIPSEC_SUPPORT}
|
|
_tcpmd5= tcpmd5
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|