From: Hauke Mehrtens Date: Sat, 29 Jun 2024 16:28:40 +0000 (+0200) Subject: kernel: Add kmod-sctp-diag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4cc69a65420fd6c8f9af7e39b4d80694ea679a4d;p=openwrt%2Fstaging%2Fxback.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 e56defad38..00dfb98d79 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