Date: Thu, 9 Jul 2020 14:18:14 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r363044 - stable/12/sys/conf Message-ID: <202007091418.069EIE9W093736@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007091418.069EIE9W093736>