mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
kernel: modules: netsupport: adapt for kernel 6.6
Adapt netsupport kmods for building under kernel 6.6: * common part of mqprio was split into a new Kconfig since 6.3. Add new kmod-sched-mqprio-common as dependency for kmod-sched-mqprio. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This commit is contained in:
parent
0c98d99c5e
commit
48b52d51dc
@ -907,10 +907,26 @@ endef
|
|||||||
$(eval $(call KernelPackage,sched-ipset))
|
$(eval $(call KernelPackage,sched-ipset))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/sched-mqprio-common
|
||||||
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
TITLE:=mqprio queue common dependencies support
|
||||||
|
DEPENDS:=@LINUX_6_6
|
||||||
|
HIDDEN:=1
|
||||||
|
KCONFIG:=CONFIG_NET_SCH_MQPRIO_LIB
|
||||||
|
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio_lib.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/sched-mqprio-common/description
|
||||||
|
Common library for manipulating mqprio queue configurations
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,sched-mqprio-common))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/sched-mqprio
|
define KernelPackage/sched-mqprio
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=Multi-queue priority scheduler (MQPRIO)
|
TITLE:=Multi-queue priority scheduler (MQPRIO)
|
||||||
DEPENDS:=+kmod-sched-core
|
DEPENDS:=+kmod-sched-core +LINUX_6_6:kmod-sched-mqprio-common
|
||||||
KCONFIG:=CONFIG_NET_SCH_MQPRIO
|
KCONFIG:=CONFIG_NET_SCH_MQPRIO
|
||||||
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko
|
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko
|
||||||
AUTOLOAD:=$(call AutoProbe, sch_mqprio)
|
AUTOLOAD:=$(call AutoProbe, sch_mqprio)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user