$(call KCONFIG_ENABLE_OPT,CONFIG_NET))
$(if $(BR2_PACKAGE_LINUX_TOOLS_PERF),
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
- $(if $(BR2_PACKAGE_IPTABLES),
- $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES)
- $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER)
- $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER)
- $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES))
$(if $(BR2_PACKAGE_XTABLES_ADDONS),
$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED)
$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK)
IPTABLES_CONF_OPTS += --disable-bpf-compiler --disable-nfsynproxy
endif
+define IPTABLES_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES)
+endef
+
$(eval $(autotools-package))