summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb')
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb
new file mode 100644
index 0000000000..aea81ee23f
--- /dev/null
+++ b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_2.0.bb
@@ -0,0 +1,25 @@
1SUMMARY = "A small tool to read/write memory"
2DESCRIPTION = "rwmem is a small tool for reading and writing device registers. \
3rwmem supports two modes: mmap mode and i2c mode. \
4\
5In mmap mode rwmem accesses a file by memory mapping it. \
6Using /dev/mem as the memory mapped file makes rwmem access memory and \
7can thus be used to access devices which have memory mapped registers. \
8\
9In i2c mode rwmem accesses an i2c peripheral by sending i2c messages to it."
10HOMEPAGE = "https://github.com/tomba/rwmem"
11
12LICENSE = "GPL-2.0-or-later"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
14
15DEPENDS += "fmt libinih"
16
17SRCREV = "d8dda76a0d8bc3356120d087f783d237602e0278"
18
19SRC_URI = "git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master;tag=${PV}"
20
21inherit meson pkgconfig
22
23do_install:append() {
24 install -D -m 0644 ${B}/librwmem/librwmem.a ${D}${libdir}/librwmem.a
25}