iproute2: fix build with threads support disabled
authorBaruch Siach <baruch@tkos.co.il>
Sun, 17 Dec 2017 21:48:23 +0000 (23:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Dec 2017 09:01:50 +0000 (10:01 +0100)
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 <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>
package/iproute2/iproute2.mk

index b75349dbce702d899e8e65ded84aea9bebcc58f2..c01917dffef0e9a248cc66f382fcf1fe2a29d4ae 100644 (file)
@@ -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