package/sysrepo: libnetconf2 is not needed

The libnetconf2 library is a dependency of Netopeer2. Sysrepo does not
have a NETCONF server or a NETCONF client, so it does not use this
library.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Acked-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jan Kundrát 2019-12-04 10:35:27 +01:00 committed by Thomas Petazzoni
parent 22a0151179
commit dd271b031d
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
config BR2_PACKAGE_SYSREPO config BR2_PACKAGE_SYSREPO
bool "sysrepo" bool "sysrepo"
depends on BR2_USE_MMU # libnetconf2 depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
@ -8,7 +8,6 @@ config BR2_PACKAGE_SYSREPO
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # host-protobuf depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # host-protobuf
select BR2_PACKAGE_LIBAVL select BR2_PACKAGE_LIBAVL
select BR2_PACKAGE_LIBEV select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_LIBNETCONF2
select BR2_PACKAGE_LIBYANG select BR2_PACKAGE_LIBYANG
select BR2_PACKAGE_PCRE select BR2_PACKAGE_PCRE
select BR2_PACKAGE_PCRE_UCP select BR2_PACKAGE_PCRE_UCP

View File

@ -9,8 +9,8 @@ SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
SYSREPO_INSTALL_STAGING = YES SYSREPO_INSTALL_STAGING = YES
SYSREPO_LICENSE = Apache-2.0 SYSREPO_LICENSE = Apache-2.0
SYSREPO_LICENSE_FILES = LICENSE SYSREPO_LICENSE_FILES = LICENSE
SYSREPO_DEPENDENCIES = libev libnetconf2 libavl libyang pcre protobuf-c host-sysrepo SYSREPO_DEPENDENCIES = libev libavl libyang pcre protobuf-c host-sysrepo
HOST_SYSREPO_DEPENDENCIES = host-libev host-libnetconf2 host-libavl host-libyang host-pcre host-protobuf-c HOST_SYSREPO_DEPENDENCIES = host-libev host-libavl host-libyang host-pcre host-protobuf-c
SYSREPO_CONF_OPTS = \ SYSREPO_CONF_OPTS = \
-DIS_DEVELOPER_CONFIGURATION=OFF \ -DIS_DEVELOPER_CONFIGURATION=OFF \