aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-06 17:32:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-06 17:32:22 +0000
commitd886c807d0816d0d3f1aadbed81a5a91ce2ccdbd (patch)
tree5d585d7d98146617d12558505909d762630caf6a
parent3ad05f3a32908ac853078080a5606890a9af9cc8 (diff)
downloadupstream-d886c807d0816d0d3f1aadbed81a5a91ce2ccdbd.tar.gz
upstream-d886c807d0816d0d3f1aadbed81a5a91ce2ccdbd.tar.bz2
upstream-d886c807d0816d0d3f1aadbed81a5a91ce2ccdbd.zip
port kmod-sched to new kernel packaging system
SVN-Revision: 4933
-rw-r--r--openwrt/include/modules-2.4.mk4
-rw-r--r--openwrt/include/modules-2.6.mk4
-rw-r--r--openwrt/package/kernel/modules.mk10
-rw-r--r--openwrt/target/linux/Config.in7
4 files changed, 10 insertions, 15 deletions
diff --git a/openwrt/include/modules-2.4.mk b/openwrt/include/modules-2.4.mk
index 7ef3323639..419a28bb68 100644
--- a/openwrt/include/modules-2.4.mk
+++ b/openwrt/include/modules-2.4.mk
@@ -21,10 +21,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.o \
,CONFIG_NET_IPIP,,60,ipip))
-$(eval $(call KMOD_template,SCHED,sched,\
- $(MODULES_DIR)/kernel/net/sched/*.o \
-))
-
$(eval $(call KMOD_template,TUN,tun,\
$(MODULES_DIR)/kernel/drivers/net/tun.o \
,CONFIG_TUN,,20,tun))
diff --git a/openwrt/include/modules-2.6.mk b/openwrt/include/modules-2.6.mk
index 08ac4da810..950ff56786 100644
--- a/openwrt/include/modules-2.6.mk
+++ b/openwrt/include/modules-2.6.mk
@@ -19,10 +19,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
,CONFIG_NET_IPIP,,60,ipip))
-$(eval $(call KMOD_template,SCHED,sched,\
- $(MODULES_DIR)/kernel/net/sched/*.ko \
-,CONFIG_NET_SCHED))
-
# Block devices
$(eval $(call KMOD_template,LOOP,loop,\
diff --git a/openwrt/package/kernel/modules.mk b/openwrt/package/kernel/modules.mk
index ab32969e35..a71948ddf1 100644
--- a/openwrt/package/kernel/modules.mk
+++ b/openwrt/package/kernel/modules.mk
@@ -391,6 +391,16 @@ endef
$(eval $(call KernelPackage,mppe))
+define KernelPackage/sched
+ TITLE:=Traffic schedulers
+ DESCRIPTION:=\
+ Kernel schedulers for IP traffic
+ FILES:=$(MODULES_DIR)/kernel/net/sched/*.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,sched))
+
+
+
NDMENU:=Network Devices
define KernelPackage/natsemi
diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in
index 1c1361e763..20099fee42 100644
--- a/openwrt/target/linux/Config.in
+++ b/openwrt/target/linux/Config.in
@@ -30,13 +30,6 @@ config PACKAGE_KMOD_RING
help
PF Ring
-config PACKAGE_KMOD_SCHED
- prompt "kmod-sched........................ Traffic schedulers"
- tristate
- default m
- help
- Kernel schedulers for IP traffic
-
config PACKAGE_KMOD_TUN
prompt "kmod-tun.......................... Universal TUN/TAP driver"
tristate