diff options
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.bb | 25 |
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 @@ | |||
| 1 | SUMMARY = "A small tool to read/write memory" | ||
| 2 | DESCRIPTION = "rwmem is a small tool for reading and writing device registers. \ | ||
| 3 | rwmem supports two modes: mmap mode and i2c mode. \ | ||
| 4 | \ | ||
| 5 | In mmap mode rwmem accesses a file by memory mapping it. \ | ||
| 6 | Using /dev/mem as the memory mapped file makes rwmem access memory and \ | ||
| 7 | can thus be used to access devices which have memory mapped registers. \ | ||
| 8 | \ | ||
| 9 | In i2c mode rwmem accesses an i2c peripheral by sending i2c messages to it." | ||
| 10 | HOMEPAGE = "https://github.com/tomba/rwmem" | ||
| 11 | |||
| 12 | LICENSE = "GPL-2.0-or-later" | ||
| 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 14 | |||
| 15 | DEPENDS += "fmt libinih" | ||
| 16 | |||
| 17 | SRCREV = "d8dda76a0d8bc3356120d087f783d237602e0278" | ||
| 18 | |||
| 19 | SRC_URI = "git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master;tag=${PV}" | ||
| 20 | |||
| 21 | inherit meson pkgconfig | ||
| 22 | |||
| 23 | do_install:append() { | ||
| 24 | install -D -m 0644 ${B}/librwmem/librwmem.a ${D}${libdir}/librwmem.a | ||
| 25 | } | ||
