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
This commit is contained in:
parent
ec18cf79e6
commit
4bcbd26ff8
@ -30,6 +30,8 @@ opt_inet.h:
|
|||||||
opt_inet6.h:
|
opt_inet6.h:
|
||||||
@echo "#define INET6 1" > ${.TARGET}
|
@echo "#define INET6 1" > ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
opt_ipsec.h:
|
||||||
|
@echo "#define IPSEC_SUPPORT 1" > ${.TARGET}
|
||||||
.if ${MK_RATELIMIT} != "no"
|
.if ${MK_RATELIMIT} != "no"
|
||||||
opt_ratelimit.h:
|
opt_ratelimit.h:
|
||||||
@echo "#define RATELIMIT 1" > ${.TARGET}
|
@echo "#define RATELIMIT 1" > ${.TARGET}
|
||||||
|
@ -8,7 +8,4 @@ SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ipsec_mod.c \
|
|||||||
opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h
|
opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h
|
||||||
SRCS.INET= udpencap.c
|
SRCS.INET= udpencap.c
|
||||||
|
|
||||||
opt_ipsec.h:
|
|
||||||
@echo "#define IPSEC_SUPPORT 1" > ${.TARGET}
|
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,7 +5,4 @@
|
|||||||
KMOD= tcpmd5
|
KMOD= tcpmd5
|
||||||
SRCS= xform_tcp.c opt_inet.h opt_inet6.h opt_ipsec.h
|
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>
|
.include <bsd.kmod.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user