aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-07-07 02:11:11 +0000
committerNicolas Thill <nico@openwrt.org>2009-07-07 02:11:11 +0000
commit5eaf2d4c8567833b2e35dd907dd5e2ad998f6c5f (patch)
tree0fbde2a252fba76eb084149ff12cd80597a0e0ec
parent0dc232c50acdef3def660d8599d72aeb22cb6560 (diff)
downloadmaster-187ad058-5eaf2d4c8567833b2e35dd907dd5e2ad998f6c5f.tar.gz
master-187ad058-5eaf2d4c8567833b2e35dd907dd5e2ad998f6c5f.tar.bz2
master-187ad058-5eaf2d4c8567833b2e35dd907dd5e2ad998f6c5f.zip
use .$(LINUX_KMOD_SUFFIX) instead of .ko in AutoLoad (closes: #5452)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16726 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/netfilter.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index d10c051fcf..9409a697d8 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -374,7 +374,7 @@ define KernelPackage/arptables
KCONFIG:=CONFIG_IP_NF_ARPTABLES \
CONFIG_IP_NF_ARPFILTER \
CONFIG_IP_NF_ARP_MANGLE
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)))))
+ AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.$(LINUX_KMOD_SUFFIX),%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)))))
endef
define KernelPackage/arptables/description
@@ -390,7 +390,7 @@ define KernelPackage/ebtables
FILES:=$(LINUX_DIR)/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \
CONFIG_BRIDGE_NF_EBTABLES
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.ko,%,ebtables.ko $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebtable_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebt_*.$(LINUX_KMOD_SUFFIX)))))
+ AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.$(LINUX_KMOD_SUFFIX),%,ebtables.$(LINUX_KMOD_SUFFIX) $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebtable_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebt_*.$(LINUX_KMOD_SUFFIX)))))
endef
define KernelPackage/ebtables/description