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 <hauke@hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/15833
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Hauke Mehrtens 2024-06-29 18:28:40 +02:00 committed by Christian Marangi
parent 8b4fd1c0de
commit 4cc69a6542
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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