iproute2: fix build with threads support disabled
PATCH 1/2 iproute2: fix build with threads support disabled
iproute2 renamed the configure script generated file to config.mk. Update the berkeleydb disable code.
Fixes:
http://autobuild.buildroot.net/results/46d/46da1142806fb524326994585cec6de9f7f3f480/
http://autobuild.buildroot.net/results/3aa/3aa028fe9e730335d2af00d5969b674a3d9f640b/
--- package/iproute2/iproute2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/iproute2/iproute2.mk +1 -1
@@ -42,7 +42,7 @@ ifeq ($(BR2_PACKAGE_BERKELEYDB_COMPAT185)$(BR2_TOOLCHAIN_HAS_THREADS),yy) IPROUTE2_DEPENDENCIES += berkeleydb else define IPROUTE2_DISABLE_ARPD - echo "HAVE_BERKELEY_DB:=n" >> $(@D)/Config + echo "HAVE_BERKELEY_DB:=n" >> $(@D)/config.mk endef endif
Signature · 1 line
2.15.1
PATCH 2/2 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.
--- package/iproute2/iproute2.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/iproute2/iproute2.mk +2 -3
@@ -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
Signature · 1 line
2.15.1
PATCH 2/2 iproute2: fix configure output file name
Quoted 10 lines
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_XTdisable tweak.Cc Petr Vorel <[email protected]>Signed-off-by Baruch Siach <[email protected]>---
PATCH 1/2 iproute2: fix build with threads support disabled
In reply to Baruch SiachQuoted 10 lines
iproute2 renamed the configure script generated file to config.mk. Update the berkeleydb disable code.
Fixes:
http://autobuild.buildroot.net/results/46d/46da1142806fb524326994585cec6de9f7f3f480/
http://autobuild.buildroot.net/results/3aa/3aa028fe9e730335d2af00d5969b674a3d9f640b/Cc Petr Vorel <[email protected]>Signed-off-by Baruch Siach <[email protected]>---
PATCH 1/2 iproute2: fix build with threads support disabled
In reply to Baruch SiachHello,
Quoted 7 lines · Baruch Siach
iproute2 renamed the configure script generated file to config.mk. Update the berkeleydb disable code.
Fixes:
http://autobuild.buildroot.net/results/46d/46da1142806fb524326994585cec6de9f7f3f480/
http://autobuild.buildroot.net/results/3aa/3aa028fe9e730335d2af00d5969b674a3d9f640b/
Quoted 5 lines
Cc Petr Vorel <[email protected]>Signed-off-by Baruch Siach <[email protected]>--- package/iproute2/iproute2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Both patches applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com