iproute2 renamed the configure script output file to config.mk. Update
the config tweaking code accordingly.
The configure script now detects xtables correctly, drop this part.
Add a comment to explain the TC_CONFIG_XT disable tweak.
Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
endef
else
define IPROUTE2_WITH_IPTABLES
- # em_ipset needs xtables, but configure misdetects it
- echo "TC_CONFIG_IPSET:=n" >>$(@D)/Config
- echo "TC_CONFIG_XT:=n" >>$(@D)/Config
+ # m_xt.so is built unconditionally
+ echo "TC_CONFIG_XT:=n" >>$(@D)/config.mk
endef
endif