Skip to contentSkip to conversation

devtool: nlohmann-fifo

PATCH In review Aatir 2 participants 2 messages Oct 14, 2019 – Oct 16, 2019

lore
Share & tools
lore

Aatir

author
#0 lore raw

PATCH 1/1 devtool: nlohmann-fifo

From: Tekkub <[email protected]>

Adding the nlohmann-fifo, c++ library for fifo maps.

---
 .../nlohmann-fifo/nlohmann-fifo_git.bb        | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +22 -0
new file mode 100644
index 000000000..afab2eac4
@@ -0,0 +1,22 @@
+SUMMARY = "fifo maps for c++"
+HOMEPAGE = "/"
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"
+
+SRC_URI = "git://github.com/nlohmann/fifo_map.git"
+
+PV = "1.0.0+git${SRCPV}"
+
+SRCREV = "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN}-dev = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_install() {
+    install -d ${D}${includedir}
+    install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}/fifo_map.hpp
+}
Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Aatir

From: Tekkub <[email protected]>

Adding the nlohmann-fifo, c++ library for fifo maps.

---
 .../nlohmann-fifo/nlohmann-fifo_git.bb        | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/nlohmann-fifo/

nlohmann-fifo_git.bb

meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +0 -0
new file mode 100644
index 000000000..afab2eac4

meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb line 2

Quoted 2 lines
meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +2 -0
@@ -0,0 +1,22 @@
+SUMMARY = "fifo maps for c++"
+HOMEPAGE = "/"

This needs to point to a valid url

Quoted 5 lines
meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +3 -0
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"

meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb line 15

Quoted 10 lines
meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +10 -0
+
+SRC_URI = "git://github.com/nlohmann/fifo_map.git"
+
+PV = "1.0.0+git${SRCPV}"
+
+SRCREV = "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN}-dev = ""

Why is this needed ?

meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb line 20

Quoted 5 lines
meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb new file +5 -0
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_install() {
+    install -d ${D}${includedir}

Delete this line

Quoted 1 line

+ install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}/fifo_map.hpp

Use install -D -m

Quoted 11 lines

+}
--
2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core