From: Gustavo Zacarias Date: Tue, 21 Oct 2014 21:10:52 +0000 (-0300) Subject: xtables-addons: enable necessary kernel options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5d715dda5b42e15ae3526c111d26307c9f13638;p=buildroot.git xtables-addons: enable necessary kernel options Enable the required conntrack/netfilter options, otherwise xtables-addons will fail to build. The basic iptables options are already covered by the iptables package which is a required dependency anyway. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/linux/linux.mk b/linux/linux.mk index a3efbb2b6c..680521c55b 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -217,6 +217,9 @@ define LINUX_CONFIGURE_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES,$(@D)/.config)) + $(if $(BR2_PACKAGE_XTABLES_ADDONS), + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK,$(@D)/.config) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK,$(@D)/.config)) $(if $(BR2_LINUX_KERNEL_APPENDED_DTB), $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config)) yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig