package/sysrepo: libnetconf2 is not needed
authorJan Kundrát <jan.kundrat@cesnet.cz>
Wed, 4 Dec 2019 09:35:27 +0000 (10:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 8 Dec 2019 21:56:12 +0000 (22:56 +0100)
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>
package/sysrepo/Config.in
package/sysrepo/sysrepo.mk

index 18a09e0c57117cf76f88f3875f228f855c26270a..31f817faa166a52ee66695b2f453b3b0def3f309 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_SYSREPO
        bool "sysrepo"
-       depends on BR2_USE_MMU # libnetconf2
+       depends on BR2_USE_MMU
        depends on !BR2_STATIC_LIBS
        depends on BR2_INSTALL_LIBSTDCPP
        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
        select BR2_PACKAGE_LIBAVL
        select BR2_PACKAGE_LIBEV
-       select BR2_PACKAGE_LIBNETCONF2
        select BR2_PACKAGE_LIBYANG
        select BR2_PACKAGE_PCRE
        select BR2_PACKAGE_PCRE_UCP
index 49c908d62d026d545684875b2a17156e46222d01..216e517526e396553f20a8aff99d0adaef8992dc 100644 (file)
@@ -9,8 +9,8 @@ SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
 SYSREPO_INSTALL_STAGING = YES
 SYSREPO_LICENSE = Apache-2.0
 SYSREPO_LICENSE_FILES = LICENSE
-SYSREPO_DEPENDENCIES = libev libnetconf2 libavl libyang pcre protobuf-c host-sysrepo
-HOST_SYSREPO_DEPENDENCIES = host-libev host-libnetconf2 host-libavl host-libyang host-pcre host-protobuf-c
+SYSREPO_DEPENDENCIES = libev libavl libyang pcre protobuf-c host-sysrepo
+HOST_SYSREPO_DEPENDENCIES = host-libev host-libavl host-libyang host-pcre host-protobuf-c
 
 SYSREPO_CONF_OPTS = \
        -DIS_DEVELOPER_CONFIGURATION=OFF \