libyang library is needed to build sysrepo and libnetconf2.
So add recipe for libyang.
The recipe is taken as-is from the commit 09f73e7 ("update for honister")
from the public repo [1].
[1] - https://github.com/sartura/meta-sysrepo
Signed-off-by: Ravi Gunasekaran <[email protected]>
---
Changes since v3:
----------------
No change
Changes since v2:
---------------
Newly introduced in this series
.../recipes-sysrepo/libyang/libyang_git.bb | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 meta-arago-extras/recipes-sysrepo/libyang/libyang_git.bb
diff --git a/meta-arago-extras/recipes-sysrepo/libyang/libyang_git.bb
b/meta-arago-extras/recipes-sysrepo/libyang/libyang_git.bb
new file mode 100644
index 00000000..c984a252
--- /dev/null
+++ b/meta-arago-extras/recipes-sysrepo/libyang/libyang_git.bb
@@ -0,0 +1,23 @@
+SUMMARY = "YANG data modelling language parser and toolkit"
+DESCRIPTION = "libyang is YANG data modelling language parser and toolkit
written (and providing API) in C. The library is used e.g. in libnetconf2,
Netopeer2 or sysrepo projects."
+SECTION = "libs"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f3916d7d8d42a6508d0ea418cfff10ad"
+
+SRC_URI = "git://github.com/CESNET/libyang.git;protocol=https;branch=devel"
+
+PV = "2.1.77+git${SRCPV}"
+SRCREV = "a804113c9bbac3e36c53221be469c1ca5af5b435"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "libpcre2"
+
+FILES:${PN} += "/usr/share/yang/modules/libyang/*"
+
+inherit cmake pkgconfig
+
+# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
+EXTRA_OECMAKE = " -DCMAKE_INSTALL_PREFIX:PATH=/usr
-DCMAKE_BUILD_TYPE:String=Release "
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14709):
https://lists.yoctoproject.org/g/meta-arago/message/14709
Mute This Topic: https://lists.yoctoproject.org/mt/99810511/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-