[source] xtables-addons: add CONFIG_NF_CONNTRACK_MARK=y to all kmod-* packages

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 1 05:24:21 PST 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/4d448cf7203ffdd0762086adf36b99f603917f41

commit 4d448cf7203ffdd0762086adf36b99f603917f41
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Dec 1 14:23:05 2016 +0100

    xtables-addons: add CONFIG_NF_CONNTRACK_MARK=y to all kmod-* packages
    
    Not all kmod packages depends on kmod-ipt-compat-xtables, but this
    kernel config option is required for building the whole package
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/utils/xtables-addons/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/utils/xtables-addons/Makefile b/package/network/utils/xtables-addons/Makefile
index 6973c86..014887d 100644
--- a/package/network/utils/xtables-addons/Makefile
+++ b/package/network/utils/xtables-addons/Makefile
@@ -92,7 +92,7 @@ define BuildTemplate
     SUBMENU:=Netfilter Extensions
     TITLE:=$(2) netfilter module
     DEPENDS:=+kmod-ipt-core $(5)
-    KCONFIG:=$(6)
+    KCONFIG:=CONFIG_NF_CONNTRACK_MARK=y
     FILES:=$(foreach mod,$(4),$(PKG_BUILD_DIR)/extensions/$(mod).$(LINUX_KMOD_SUFFIX))
     AUTOLOAD:=$(call AutoProbe,$(notdir $(4)))
   endef
@@ -124,7 +124,7 @@ endef
 
 #$(eval $(call BuildTemplate,SUFFIX,DESCRIPTION,EXTENSION,MODULE,PRIORITY,DEPENDS))
 
-$(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,+IPV6:kmod-ip6tables,CONFIG_NF_CONNTRACK_MARK=y))
+$(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,+IPV6:kmod-ip6tables))
 $(eval $(call BuildTemplate,nathelper-rtsp,RTSP Conntrack and NAT,,rtsp/nf_conntrack_rtsp rtsp/nf_nat_rtsp,+kmod-ipt-conntrack-extra +kmod-ipt-nat))
 
 $(eval $(call BuildTemplate,account,ACCOUNT,xt_ACCOUNT,ACCOUNT/xt_ACCOUNT,+kmod-ipt-compat-xtables))



More information about the lede-commits mailing list