From: Hauke Mehrtens Date: Sat, 29 Jun 2024 16:28:40 +0000 (+0200) Subject: kernel: Add kmod-sctp-diag X-Git-Tag: v24.10.0-rc1~1316 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15833%2Fhead;p=thirdparty%2Fopenwrt.git kernel: Add kmod-sctp-diag Package the sctp_diag.ko file which already gets build when kmod-sctp and kmod-inet-diag are selected. Signed-off-by: Hauke Mehrtens Link: https://github.com/openwrt/openwrt/pull/15833 Signed-off-by: Christian Marangi --- diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index e56defad38c..00dfb98d79f 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -1245,6 +1245,18 @@ endef $(eval $(call KernelPackage,sctp)) +define KernelPackage/sctp-diag + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=SCTP diag support + DEPENDS:=+kmod-sctp +kmod-inet-diag + KCONFIG:=CONFIG_INET_SCTP_DIAG + FILES:= $(LINUX_DIR)/net/sctp/sctp_diag.ko + AUTOLOAD:= $(call AutoLoad,33,sctp_diag) +endef + +$(eval $(call KernelPackage,sctp-diag)) + + define KernelPackage/netem SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Network emulation functionality