iproute2: fix configure output file name

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>
This commit is contained in:
Baruch Siach 2017-12-17 23:48:24 +02:00 committed by Thomas Petazzoni
parent a8a9c33d10
commit f822cd793b

View File

@ -31,9 +31,8 @@ define IPROUTE2_WITH_IPTABLES
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