Skip to contentSkip to conversation

rwmem: add recipe

PATCH In review Denys Dmytriyenko 2 participants 2 messages Oct 1, 2019 – Oct 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rwmem: add recipe

From: Denys Dmytriyenko <[email protected]>

This is being moved from meta-ti as it's a rather generic tool to be useful on other platforms.

---
 meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb
meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb new file +26 -0
new file mode 100644
index 0000000..0a15134
@@ -0,0 +1,26 @@
+SUMMARY = "A small tool to read/write memory"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS += "python3 python3-pybind11"
+
+PV .= "+git${SRCPV}"
+
+SRCREV_rwmem = "cc296c5366a35a4c4271cfa3cc9831f6f34bfd9d"
+SRCREV_inih = "4b10c654051a86556dfdb634c891b6c3224c4109"
+
+SRCREV_FORMAT = "rwmem_inih"
+
+SRC_URI = " \
+    git://github.com/tomba/rwmem.git;protocol=https;name=rwmem \
+    git://github.com/benhoyt/inih.git;protocol=https;name=inih;nobranch=1;destsuffix=git/ext/inih \
+"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+do_install() {
+	install -D -m 0755 ${B}/bin/rwmem ${D}${bindir}/rwmem
+	install -D -m 0644 ${B}/lib/librwmem.a ${D}${libdir}/librwmem.a
+}
Signature · 1 line
2.7.4
#1 lore raw

Hi Denys,

I imagine a lot of people don't need the python bindings. Can you make the python bindings optional?

Thanks.

Regards,
Jonathan

Quoted 55 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This is being moved from meta-ti as it's a rather generic tool to be useful on other platforms.

---
 meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb
meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb new file +16 -0
new file mode 100644
index 0000000..0a15134
@@ -0,0 +1,26 @@
+SUMMARY = "A small tool to read/write memory"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS += "python3 python3-pybind11"
+
+PV .= "+git${SRCPV}"
+
+SRCREV_rwmem = "cc296c5366a35a4c4271cfa3cc9831f6f34bfd9d"
+SRCREV_inih = "4b10c654051a86556dfdb634c891b6c3224c4109"
+
+SRCREV_FORMAT = "rwmem_inih"
+
+SRC_URI = " \
+    git://github.com/tomba/rwmem.git;protocol=https;name=rwmem \
+    git://

github.com/benhoyt/inih.git;protocol=https;name=inih;nobranch=1;destsuffix=git/ext/inih \
+"

meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb new file +9 -1
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+do_install() {
+       install -D -m 0755 ${B}/bin/rwmem ${D}${bindir}/rwmem
+       install -D -m 0644 ${B}/lib/librwmem.a ${D}${libdir}/librwmem.a
+}
--

2.7.4

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