initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBNETCONF2
|
||||
bool "libnetconf2"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_LIBYANG
|
||||
help
|
||||
libnetconf2 is a NETCONF library in C intended for building
|
||||
NETCONF clients and servers.
|
||||
|
||||
https://github.com/CESNET/libnetconf2
|
||||
|
||||
comment "libnetconf2 needs a toolchain w/ threads, dynamic libraray"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 66139fc9e68aa89c82235f4135dba9e44f5db663541279c14c74131e22b7f571 libnetconf2-1.1.43.tar.gz
|
||||
sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnetconf2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNETCONF2_VERSION = 1.1.43
|
||||
LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
|
||||
LIBNETCONF2_INSTALL_STAGING = YES
|
||||
LIBNETCONF2_LICENSE = BSD-3-Clause
|
||||
LIBNETCONF2_LICENSE_FILES = LICENSE
|
||||
LIBNETCONF2_DEPENDENCIES = libyang
|
||||
HOST_LIBNETCONF2_DEPENDENCIES = host-libyang
|
||||
|
||||
LIBNETCONF2_CONF_OPTS = \
|
||||
-DENABLE_BUILD_TESTS=OFF \
|
||||
-DENABLE_VALGRIND_TESTS=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y)
|
||||
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=ON
|
||||
LIBNETCONF2_DEPENDENCIES += libssh
|
||||
else
|
||||
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL), y)
|
||||
LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON
|
||||
LIBNETCONF2_DEPENDENCIES += openssl
|
||||
else
|
||||
LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF
|
||||
endif
|
||||
|
||||
HOST_LIBNETCONF2_CONF_OPTS = \
|
||||
-DENABLE_BUILD_TESTS=OFF \
|
||||
-DENABLE_VALGRIND_TESTS=OFF \
|
||||
-DENABLE_SSH=OFF \
|
||||
-DENABLE_TLS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user