summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2014-06-17 03:07:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-18 09:10:35 +0200
commitcf6d746fb466608f77fa77b7fefcaac2f7c5c96b (patch)
treecfb6481698633ae462208c006613c2c8783113c9
parent67cc8dc6cedb186f2dc911799cd671484f90e4d6 (diff)
target/linux/config: allow for selecting xtables support as module
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--mk/modules.mk5
-rw-r--r--target/linux/config/Config.in.netfilter2
2 files changed, 6 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 406a3b004..cb418057b 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -424,6 +424,11 @@ $(eval $(call KMOD_template,BRIDGE_EBT_REDIRECT,bridge-ebt-redirect,\
# Netfilter Core
#
+$(eval $(call KMOD_template,NETFILTER_XTABLES,netfilter-xtables,\
+ $(MODULES_DIR)/kernel/net/netfilter/x_tables \
+ $(MODULES_DIR)/kernel/net/netfilter/xt_tcpudp \
+,41))
+
$(eval $(call KMOD_template,NETFILTER_XT_TARGET_CLASSIFY,netfiler-xt-target-classify,\
$(MODULES_DIR)/kernel/net/netfilter/xt_CLASSIFY \
,50))
diff --git a/target/linux/config/Config.in.netfilter b/target/linux/config/Config.in.netfilter
index f07302981..6ba9f0219 100644
--- a/target/linux/config/Config.in.netfilter
+++ b/target/linux/config/Config.in.netfilter
@@ -16,7 +16,7 @@ config ADK_KERNEL_BRIDGE_NETFILTER
default n
config ADK_KERNEL_NETFILTER_XTABLES
- boolean
+ tristate "Netfilter Xtables support (required for ip_tables)"
select ADK_KERNEL_NETFILTER
select ADK_KERNEL_NETFILTER_ADVANCED
default y if ADK_PACKAGE_IPTABLES