svn commit: r363044 - stable/12/sys/conf

Mark Johnston markj at FreeBSD.org
Thu Jul 9 14:18:15 UTC 2020


Author: markj
Date: Thu Jul  9 14:18:14 2020
New Revision: 363044
URL: https://svnweb.freebsd.org/changeset/base/363044

Log:
  MFC r362614, r362618:
  Add SCTP_SUPPORT handling to config.mk.

Modified:
  stable/12/sys/conf/config.mk
  stable/12/sys/conf/kern.opts.mk
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/conf/config.mk
==============================================================================
--- stable/12/sys/conf/config.mk	Thu Jul  9 14:17:04 2020	(r363043)
+++ stable/12/sys/conf/config.mk	Thu Jul  9 14:18:14 2020	(r363044)
@@ -29,6 +29,10 @@ opt_printf.h:
 	echo "#define PRINTF_BUFR_SIZE 128" > ${.TARGET}
 opt_scsi.h:
 	echo "#define SCSI_DELAY 15000" > ${.TARGET}
+.if ${MK_SCTP_SUPPORT} != "no"
+opt_sctp.h:
+	@echo "#define SCTP_SUPPORT 1" > ${.TARGET}
+.endif
 opt_wlan.h:
 	echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
 	echo "#define IEEE80211_AMPDU_AGE 1" >> ${.TARGET}
@@ -44,6 +48,9 @@ KERN_OPTS+= INET TCP_OFFLOAD
 .endif
 .if ${MK_INET6_SUPPORT} != "no"
 KERN_OPTS+= INET6
+.endif
+.if ${MK_SCTP_SUPPORT} != "no"
+KERN_OPTS+= SCTP_SUPPORT
 .endif
 .elif !defined(KERN_OPTS)
 KERN_OPTS!=cat ${KERNBUILDDIR}/opt*.h | awk '{print $$2;}' | sort -u

Modified: stable/12/sys/conf/kern.opts.mk
==============================================================================
--- stable/12/sys/conf/kern.opts.mk	Thu Jul  9 14:17:04 2020	(r363043)
+++ stable/12/sys/conf/kern.opts.mk	Thu Jul  9 14:18:14 2020	(r363044)
@@ -43,6 +43,7 @@ __DEFAULT_YES_OPTIONS = \
     NETGRAPH \
     PF \
     REPRODUCIBLE_BUILD \
+    SCTP_SUPPORT \
     SOURCELESS_HOST \
     SOURCELESS_UCODE \
     TESTS \


More information about the svn-src-stable mailing list