kernel: gre depends on ipv6 is Kernel is built with IPv6 support

SVN-Revision: 27149
owl
Jo-Philipp Wich 2011-06-09 14:34:53 +00:00
parent 344445715a
commit c9ad45e098
1 changed files with 2 additions and 0 deletions

View File

@ -370,6 +370,7 @@ $(eval $(call KernelPackage,ip6-tunnel))
define KernelPackage/gre define KernelPackage/gre
SUBMENU:=$(NETWORK_SUPPORT_MENU) SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=GRE support TITLE:=GRE support
DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6
KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1) 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 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_TBF \
CONFIG_NET_SCH_SFQ \ CONFIG_NET_SCH_SFQ \
CONFIG_NET_SCH_TEQL \ CONFIG_NET_SCH_TEQL \
CONFIG_NET_SCH_CBQ \
CONFIG_NET_CLS=y \ CONFIG_NET_CLS=y \
CONFIG_NET_CLS_ACT=y \ CONFIG_NET_CLS_ACT=y \
CONFIG_NET_CLS_BASIC \ CONFIG_NET_CLS_BASIC \