From ce2e6ac1937af9a4c5c54181ab00781a0bf0097c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 13 Oct 2023 16:58:27 +0200 Subject: [PATCH] simple-tc: fix kmod dependencies simple-tc hasn't been working since OpenWrt 22.03, as act_police was moved to a separate package. While we're at it, we can also clean up the other dependencies: - Remove the obsolete conditional dependencies, these were for GLUON_SPECIALIZE_KERNEL - cls_basic was moved to kmod-sched-core, so we don't need kmod-sched anymore --- net/simple-tc/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/simple-tc/Makefile b/net/simple-tc/Makefile index 120291e..1088d7a 100644 --- a/net/simple-tc/Makefile +++ b/net/simple-tc/Makefile @@ -1,9 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=simple-tc -PKG_VERSION:=2 - -PKG_CONFIG_DEPENDS := CONFIG_KERNEL_NET_SCH_TBF CONFIG_KERNEL_NET_SCH_INGRESS CONFIG_KERNEL_NET_CLS_BASIC KERNEL_NET_ACT_POLICE +PKG_VERSION:=3 include $(INCLUDE_DIR)/package.mk @@ -11,7 +9,7 @@ define Package/simple-tc SECTION:=net CATEGORY:=Network TITLE:=Simple bandwidth limiting - DEPENDS:=+!KERNEL_NET_SCH_TBF:kmod-sched-core +!KERNEL_NET_SCH_INGRESS:kmod-sched-core +!KERNEL_NET_CLS_BASIC:kmod-sched +!KERNEL_NET_ACT_POLICE:kmod-sched +libnl-tiny + DEPENDS:=+kmod-sched-core +kmod-sched-act-police +libnl-tiny endef TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny