Add SCTP_SUPPORT handling to config.mk.
Reviewed by: jhb, tuexen MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25402
This commit is contained in:
parent
84242cf68a
commit
79ddb55c39
@ -44,6 +44,10 @@ opt_printf.h:
|
|||||||
echo "#define PRINTF_BUFR_SIZE 128" > ${.TARGET}
|
echo "#define PRINTF_BUFR_SIZE 128" > ${.TARGET}
|
||||||
opt_scsi.h:
|
opt_scsi.h:
|
||||||
echo "#define SCSI_DELAY 15000" > ${.TARGET}
|
echo "#define SCSI_DELAY 15000" > ${.TARGET}
|
||||||
|
.if ${MK_SCTP_SUPPORT} != "no"
|
||||||
|
opt_sctp.h:
|
||||||
|
@echo "#define SCTP_SUPPORT 1" > ${.TARGET}
|
||||||
|
.endif
|
||||||
opt_wlan.h:
|
opt_wlan.h:
|
||||||
echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
|
echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
|
||||||
echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
|
echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
|
||||||
@ -65,6 +69,9 @@ KERN_OPTS+= INET6
|
|||||||
.if ${MK_IPSEC_SUPPORT} != "no"
|
.if ${MK_IPSEC_SUPPORT} != "no"
|
||||||
KERN_OPTS+= IPSEC_SUPPORT
|
KERN_OPTS+= IPSEC_SUPPORT
|
||||||
.endif
|
.endif
|
||||||
|
.if ${MK_SCTP_SUPPORT} != "no"
|
||||||
|
KERN_OPTS+= SCTP_SUPPORT
|
||||||
|
.endif
|
||||||
.elif !defined(KERN_OPTS)
|
.elif !defined(KERN_OPTS)
|
||||||
# Add all the options that are mentioned in any opt_*.h file when we
|
# Add all the options that are mentioned in any opt_*.h file when we
|
||||||
# have a kernel build directory to pull them from.
|
# have a kernel build directory to pull them from.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user