From 289d532ddd9427a9071d85966d38fff9d78837bd Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Fri, 1 Nov 2019 06:57:03 +0000 Subject: [PATCH] dropbear: rebuild libs on config change Required as dependency on dropbear config headers is not tracked in dropbear build system Fixes FS#2275 Signed-off-by: Yousong Zhou --- package/network/services/dropbear/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile index 63204042f71..75a3264ebbe 100644 --- a/package/network/services/dropbear/Makefile +++ b/package/network/services/dropbear/Makefile @@ -128,6 +128,10 @@ define Build/Configure # Enforce rebuild of svr-chansession.c rm -f $(PKG_BUILD_DIR)/svr-chansession.o + + # Rebuild them on config change + +$(MAKE) -C $(PKG_BUILD_DIR)/libtomcrypt clean + +$(MAKE) -C $(PKG_BUILD_DIR)/libtommath clean endef define Build/Compile