From: Felix Fietkau Date: Thu, 1 Dec 2016 13:23:05 +0000 (+0100) Subject: xtables-addons: add CONFIG_NF_CONNTRACK_MARK=y to all kmod-* packages X-Git-Tag: v17.01.0-rc1~669 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=4d448cf7203ffdd0762086adf36b99f603917f41 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 --- diff --git a/package/network/utils/xtables-addons/Makefile b/package/network/utils/xtables-addons/Makefile index 6973c863eb..014887d06b 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))