IMQ is not yet available on 2.6.25
authorGabor Juhos <juhosg@openwrt.org>
Fri, 2 May 2008 11:29:53 +0000 (11:29 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 2 May 2008 11:29:53 +0000 (11:29 +0000)
SVN-Revision: 11007

package/iptables/Makefile
package/kernel/modules/netfilter.mk

index ff55ce590a61b0f25e630bb84f994442249acb04..9d6d8f842395fa72111c03e1212197259df62449 100644 (file)
@@ -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
 
index e753fb24fe74464a1f3a2fd03ee4f558ca123b9b..3eeb7aa6a0a5b28301dbb9ff8ac4ab5ad718398d 100644 (file)
@@ -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