Date: Fri, 29 May 2020 19:21:36 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361632 - in head/sys: conf modules/ipsec modules/tcp/tcpmd5 Message-ID: <202005291921.04TJLaNc097149@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri May 29 19:21:35 2020 New Revision: 361632 URL: https://svnweb.freebsd.org/changeset/base/361632 Log: Honor opt_ipsec.h from kernel builds. To make this simpler, set the default contents of opt_ipsec.h for standalone modules in sys/conf/config.mk. Reviewed by: imp MFC after: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D25046 Modified: head/sys/conf/config.mk head/sys/modules/ipsec/Makefile head/sys/modules/tcp/tcpmd5/Makefile Modified: head/sys/conf/config.mk ============================================================================== --- head/sys/conf/config.mk Fri May 29 18:05:40 2020 (r361631) +++ head/sys/conf/config.mk Fri May 29 19:21:35 2020 (r361632) @@ -30,6 +30,8 @@ opt_inet.h: opt_inet6.h: @echo "#define INET6 1" > ${.TARGET} .endif +opt_ipsec.h: + @echo "#define IPSEC_SUPPORT 1" > ${.TARGET} .if ${MK_RATELIMIT} != "no" opt_ratelimit.h: @echo "#define RATELIMIT 1" > ${.TARGET} Modified: head/sys/modules/ipsec/Makefile ============================================================================== --- head/sys/modules/ipsec/Makefile Fri May 29 18:05:40 2020 (r361631) +++ head/sys/modules/ipsec/Makefile Fri May 29 19:21:35 2020 (r361632) @@ -8,7 +8,4 @@ SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ip opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h SRCS.INET= udpencap.c -opt_ipsec.h: - @echo "#define IPSEC_SUPPORT 1" > ${.TARGET} - .include <bsd.kmod.mk> Modified: head/sys/modules/tcp/tcpmd5/Makefile ============================================================================== --- head/sys/modules/tcp/tcpmd5/Makefile Fri May 29 18:05:40 2020 (r361631) +++ head/sys/modules/tcp/tcpmd5/Makefile Fri May 29 19:21:35 2020 (r361632) @@ -5,7 +5,4 @@ KMOD= tcpmd5 SRCS= xform_tcp.c opt_inet.h opt_inet6.h opt_ipsec.h -opt_ipsec.h: - @echo "#define IPSEC_SUPPORT 1" > ${.TARGET} - .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005291921.04TJLaNc097149>