summaryrefslogtreecommitdiff
path: root/package/kernel/modules/netsupport.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-20 21:57:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-20 21:57:58 +0000
commit102640b4cfe6cea0f69ad7280176ed863c4ec3b7 (patch)
treed9d27444942d1713877b2fba36a47b8f328a9aa3 /package/kernel/modules/netsupport.mk
parent64b882f00241534e5d33d5d3c1485fb6335d3e2b (diff)
downloadmtk-20170518-102640b4cfe6cea0f69ad7280176ed863c4ec3b7.zip
mtk-20170518-102640b4cfe6cea0f69ad7280176ed863c4ec3b7.tar.gz
mtk-20170518-102640b4cfe6cea0f69ad7280176ed863c4ec3b7.tar.bz2
kernel: fix kmod-sched-core build for kernels without codel
SVN-Revision: 31834
Diffstat (limited to 'package/kernel/modules/netsupport.mk')
-rw-r--r--package/kernel/modules/netsupport.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 1cdd4f8..8776b52 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -626,7 +626,7 @@ $(eval $(call KernelPackage,mppe))
SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
SCHED_MODULES_CORE = sch_ingress sch_codel sch_fq_codel sch_hfsc cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit
SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_CORE) act_connmark,$(SCHED_MODULES))
-SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_CORE))
+SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
define KernelPackage/sched-core