kernel: gre depends on ipv6 is Kernel is built with IPv6 support
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Jun 2011 14:34:53 +0000 (14:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Jun 2011 14:34:53 +0000 (14:34 +0000)
SVN-Revision: 27149

package/kernel/modules/netsupport.mk

index 7387319731b04d5e3ec4b85f704c753229115614..70ffbfdc5034f3d234a9fedbb047313ec0dd5353 100644 (file)
@@ -370,6 +370,7 @@ $(eval $(call KernelPackage,ip6-tunnel))
 define KernelPackage/gre
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=GRE support
+  DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6
   KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
   FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
@@ -559,6 +560,7 @@ define KernelPackage/sched
        CONFIG_NET_SCH_TBF \
        CONFIG_NET_SCH_SFQ \
        CONFIG_NET_SCH_TEQL \
+       CONFIG_NET_SCH_CBQ \
        CONFIG_NET_CLS=y \
        CONFIG_NET_CLS_ACT=y \
        CONFIG_NET_CLS_BASIC \