Skip to contentSkip to conversation

rwmem: Update to latest

PATCH Superseded Khem Raj 1 participant 1 message Dec 8, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 rwmem: Update to latest

New versions use CMake

---
 recipes-bsp/rwmem/rwmem_1.1.bb | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
recipes-bsp/rwmem/rwmem_1.1.bb +8 -4
index 2848e1cd..24013abe 100644
@@ -2,12 +2,16 @@ SUMMARY = "A small tool to read/write memory"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCREV = "54904b8873b265d8f1faf82617c2f04814c102c6"
-SRC_URI = "git://github.com/tomba/rwmem.git"
+SRCREV = "ad00619005654f9cde5c2ea2ed2277d1d3ad2f26"
+SRC_URI = "gitsm://github.com/tomba/rwmem.git"
 
 S = "${WORKDIR}/git"
 
+inherit cmake pkgconfig
+
+DEPENDS += "python3"
+
 do_install() {
-	install -d ${D}${bindir}
-	install -m 0755 rwmem ${D}${bindir}
+	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.19.2