Merge pull request #19021 from borkra/fix_dependencies
Avoid building unused package dependencies
This commit is contained in:
commit
2d41278daa
3 changed files with 6 additions and 5 deletions
|
@ -104,7 +104,7 @@ endef
|
||||||
define Package/libgnutls-dane
|
define Package/libgnutls-dane
|
||||||
$(call Package/gnutls/Default)
|
$(call Package/gnutls/Default)
|
||||||
TITLE+= (libgnutls-dane library)
|
TITLE+= (libgnutls-dane library)
|
||||||
DEPENDS:= +libgnutls +libunbound
|
DEPENDS:= +libgnutls +PACKAGE_libgnutls-dane:libunbound
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgnutls/description
|
define Package/libgnutls/description
|
||||||
|
|
|
@ -45,7 +45,7 @@ endef
|
||||||
define Package/chrony-nts
|
define Package/chrony-nts
|
||||||
$(call Package/chrony/Default)
|
$(call Package/chrony/Default)
|
||||||
TITLE+= (with NTS)
|
TITLE+= (with NTS)
|
||||||
DEPENDS+= +libgnutls +ca-bundle
|
DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle
|
||||||
VARIANT:=with-nts
|
VARIANT:=with-nts
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,8 @@ PKG_CONFIG_DEPENDS:= \
|
||||||
CONFIG_GENSIO_TCL \
|
CONFIG_GENSIO_TCL \
|
||||||
CONFIG_GENSIO_SSHD
|
CONFIG_GENSIO_SSHD
|
||||||
|
|
||||||
|
PKG_BUILD_DEPENDS:=PACKAGE_python3-gensio:swig
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include ../../lang/python/python3-package.mk
|
include ../../lang/python/python3-package.mk
|
||||||
|
|
||||||
|
@ -130,8 +132,7 @@ $(call Package/gensio/Default)
|
||||||
TITLE+= (Python3-bindings)
|
TITLE+= (Python3-bindings)
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
BUILD_DEPENDS:=+swig +python3
|
DEPENDS:=+PACKAGE_python3-gensio:python3-light +libgensio
|
||||||
DEPENDS:=+python3-light +libgensio
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python3-gensio/description
|
define Package/python3-gensio/description
|
||||||
|
@ -146,7 +147,7 @@ $(call Package/gensio/Default)
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
ABI_VERSION:=0
|
ABI_VERSION:=0
|
||||||
DEPENDS:=+libgensio +libstdcpp
|
DEPENDS:=+libgensio +PACKAGE_libgensiocpp:libstdcpp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgensiocpp/description
|
define Package/libgensiocpp/description
|
||||||
|
|
Loading…
Reference in a new issue