From 0c245fda70d580737ee30cc39d42bcca6ddd7f3e Mon Sep 17 00:00:00 2001 From: Boris Krasnovskiy Date: Fri, 22 Jul 2022 14:23:54 -0400 Subject: [PATCH] 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 a94eb0e01c..2744a2acca 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 -- 2.30.2