Initial Commit
- initial default booting image
This commit is contained in:
15
package/libyang/Config.in
Normal file
15
package/libyang/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBYANG
|
||||
bool "libyang"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_PCRE2
|
||||
help
|
||||
Libyang is YANG data modeling language parser and toolkit
|
||||
written (and providing API) in C.
|
||||
|
||||
https://github.com/CESNET/libyang
|
||||
|
||||
comment "libyang needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
3
package/libyang/libyang.hash
Normal file
3
package/libyang/libyang.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5cd5018f39c830f97d70616c003990287ce5e820ae2792763a49e2a1f63af8d6 libyang-3.13.6.tar.gz
|
||||
sha256 9fe5fa94b97504d1bc32b4221cc3d32a2bd10b2086583b980ce36a3207a88eab LICENSE
|
||||
26
package/libyang/libyang.mk
Normal file
26
package/libyang/libyang.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# libyang
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBYANG_VERSION = 3.13.6
|
||||
LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
|
||||
LIBYANG_LICENSE = BSD-3-Clause
|
||||
LIBYANG_LICENSE_FILES = LICENSE
|
||||
LIBYANG_INSTALL_STAGING = YES
|
||||
LIBYANG_CPE_ID_VENDOR = cesnet
|
||||
LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
LIBYANG_DEPENDENCIES = pcre2
|
||||
HOST_LIBYANG_DEPENDENCIES = host-pcre2
|
||||
|
||||
LIBYANG_CONF_OPTS = \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DENABLE_VALGRIND_TESTS=OFF
|
||||
|
||||
HOST_LIBYANG_CONF_OPTS = \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DENABLE_VALGRIND_TESTS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user