From 089eabedf931cb65013d1e74048e9366046bbeac Mon Sep 17 00:00:00 2001 From: Boris Krasnovskiy Date: Fri, 22 Jul 2022 14:23:05 -0400 Subject: [PATCH 1/3] chrony: Avoid building unused gnutls and ca dependencies Avoid building unused gnutls and ca dependencies Signed-off-by: Boris Krasnovskiy --- net/chrony/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index a5350a097..e4440e01c 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -45,7 +45,7 @@ endef define Package/chrony-nts $(call Package/chrony/Default) TITLE+= (with NTS) - DEPENDS+= +libgnutls +ca-bundle + DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle VARIANT:=with-nts endef From 0c245fda70d580737ee30cc39d42bcca6ddd7f3e Mon Sep 17 00:00:00 2001 From: Boris Krasnovskiy Date: Fri, 22 Jul 2022 14:23:54 -0400 Subject: [PATCH 2/3] gensio: Avoid building unused python and libstdcpp dependecies Avoid building unused python and libstdcpp dependecies Signed-off-by: Boris Krasnovskiy --- net/gensio/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/gensio/Makefile b/net/gensio/Makefile index a94eb0e01..2744a2acc 100644 --- a/net/gensio/Makefile +++ b/net/gensio/Makefile @@ -33,6 +33,8 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_GENSIO_TCL \ CONFIG_GENSIO_SSHD +PKG_BUILD_DEPENDS:=PACKAGE_python3-gensio:swig + include $(INCLUDE_DIR)/package.mk include ../../lang/python/python3-package.mk @@ -130,8 +132,7 @@ $(call Package/gensio/Default) TITLE+= (Python3-bindings) SECTION:=lang CATEGORY:=Languages - BUILD_DEPENDS:=+swig +python3 - DEPENDS:=+python3-light +libgensio + DEPENDS:=+PACKAGE_python3-gensio:python3-light +libgensio endef define Package/python3-gensio/description @@ -146,7 +147,7 @@ $(call Package/gensio/Default) SECTION:=libs CATEGORY:=Libraries ABI_VERSION:=0 - DEPENDS:=+libgensio +libstdcpp + DEPENDS:=+libgensio +PACKAGE_libgensiocpp:libstdcpp endef define Package/libgensiocpp/description From 32f4d46f518391503c3b0004a8ba7ba60e013284 Mon Sep 17 00:00:00 2001 From: Boris Krasnovskiy Date: Fri, 22 Jul 2022 14:25:17 -0400 Subject: [PATCH 3/3] gnutls: Avoid building unused gnutls dependency Avoid building unused gnutls dependency Signed-off-by: Boris Krasnovskiy --- libs/gnutls/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile index 4c5af6a0f..ae3f9c750 100644 --- a/libs/gnutls/Makefile +++ b/libs/gnutls/Makefile @@ -104,7 +104,7 @@ endef define Package/libgnutls-dane $(call Package/gnutls/Default) TITLE+= (libgnutls-dane library) - DEPENDS:= +libgnutls +libunbound + DEPENDS:= +libgnutls +PACKAGE_libgnutls-dane:libunbound endef define Package/libgnutls/description