From 6ac2050304a1ed356ff08f6babf20a33b99bc38b Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 2 May 2008 11:29:53 +0000 Subject: [PATCH] [package] IMQ is not yet available on 2.6.25 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11007 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/iptables/Makefile | 2 +- package/kernel/modules/netfilter.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/iptables/Makefile b/package/iptables/Makefile index ff55ce590a..9d6d8f8423 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -88,7 +88,7 @@ define Package/iptables-mod-filter/description endef define Package/iptables-mod-imq -$(call Package/iptables/Module, +kmod-ipt-imq) +$(call Package/iptables/Module, +kmod-ipt-imq @!LINUX_2_6_25) TITLE:=IMQ support endef diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index e753fb24fe..3eeb7aa6a0 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -156,6 +156,7 @@ define KernelPackage/ipt-imq SUBMENU:=$(NF_MENU) TITLE:=Intermediate Queueing support KCONFIG:=CONFIG_IP_NF_TARGET_IMQ + DEPENDS:=@!LINUX_2_6_25 FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX))))) endef