port kmod-sched to new kernel packaging system

SVN-Revision: 4933
master
Felix Fietkau 18 years ago
parent 3ad05f3a32
commit d886c807d0
  1. 4
      openwrt/include/modules-2.4.mk
  2. 4
      openwrt/include/modules-2.6.mk
  3. 10
      openwrt/package/kernel/modules.mk
  4. 7
      openwrt/target/linux/Config.in

@ -21,10 +21,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.o \ $(MODULES_DIR)/kernel/net/ipv4/ipip.o \
,CONFIG_NET_IPIP,,60,ipip)) ,CONFIG_NET_IPIP,,60,ipip))
$(eval $(call KMOD_template,SCHED,sched,\
$(MODULES_DIR)/kernel/net/sched/*.o \
))
$(eval $(call KMOD_template,TUN,tun,\ $(eval $(call KMOD_template,TUN,tun,\
$(MODULES_DIR)/kernel/drivers/net/tun.o \ $(MODULES_DIR)/kernel/drivers/net/tun.o \
,CONFIG_TUN,,20,tun)) ,CONFIG_TUN,,20,tun))

@ -19,10 +19,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.ko \ $(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
,CONFIG_NET_IPIP,,60,ipip)) ,CONFIG_NET_IPIP,,60,ipip))
$(eval $(call KMOD_template,SCHED,sched,\
$(MODULES_DIR)/kernel/net/sched/*.ko \
,CONFIG_NET_SCHED))
# Block devices # Block devices
$(eval $(call KMOD_template,LOOP,loop,\ $(eval $(call KMOD_template,LOOP,loop,\

@ -391,6 +391,16 @@ endef
$(eval $(call KernelPackage,mppe)) $(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 NDMENU:=Network Devices
define KernelPackage/natsemi define KernelPackage/natsemi

@ -30,13 +30,6 @@ config PACKAGE_KMOD_RING
help help
PF Ring PF Ring
config PACKAGE_KMOD_SCHED
prompt "kmod-sched........................ Traffic schedulers"
tristate
default m
help
Kernel schedulers for IP traffic
config PACKAGE_KMOD_TUN config PACKAGE_KMOD_TUN
prompt "kmod-tun.......................... Universal TUN/TAP driver" prompt "kmod-tun.......................... Universal TUN/TAP driver"
tristate tristate

Loading…
Cancel
Save