port kmod-sched to new kernel packaging system
authorFelix Fietkau <nbd@openwrt.org>
Fri, 6 Oct 2006 17:32:22 +0000 (17:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 6 Oct 2006 17:32:22 +0000 (17:32 +0000)
SVN-Revision: 4933

openwrt/include/modules-2.4.mk
openwrt/include/modules-2.6.mk
openwrt/package/kernel/modules.mk
openwrt/target/linux/Config.in

index 7ef332363990eaa8baf0d4bcc904171747b9f766..419a28bb680876b0e80d79ff1840405377101a06 100644 (file)
@@ -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))
index 08ac4da810a5527981f6693d6105edda1f873179..950ff56786da370fb2f199cb5e286341c8d8f37c 100644 (file)
@@ -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,\
index ab32969e3551f293e6aa8954e202f35c43d25a3e..a71948ddf157d51723d8f78b534d2cf6007b635b 100644 (file)
@@ -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
index 1c1361e763853f01415fb212d28d5af36f50f206..20099fee429d485db8ecf8f57ade8b6527d0d5fb 100644 (file)
@@ -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